occupationMeasurement0.3.2 package

Interactively Measure Occupations in Interviews and Beyond

page_first_freetext

The first freetext question to show.

page_followup

Show potential followup questions to the user.

page_freetext

Show a page with a text field where free text can be entered.

page_none_selected_freetext

An additional freetext page to show when no suggestion has been select...

page_results

Page showing the user's results

page_second_freetext

An optional, second free text question if the first didn't yield sugge...

page_select_suggestion

Display the generated suggestions for the user to pick one.

page_welcome

Welcome Page (optional)

preprocess_string

Preprocess a string, removing special characters and handling abbrevia...

questionnaire_demo

A demo questionnaire with additional explanations

questionnaire_interviewer_administered

A questionnaire for interviewer-administered surveys

questionnaire_web_survey

A web survey which participants can navigate themselves.

set_item_data

Set / save data for an item.

set_page_data

Set some values in the page/questionnaire data in the current session.

train_similarity_based_reasoning

Train Similarity Based Probability Model with anonymized training data

validate_questionnaire

Validate (and sanitize the questionnaire)

algo_similarity_based_reasoning

Make suggestions using similarity based reasoning.

api

Start the occupation coding API.

app

Get an instance of the interactive shiny occupation coding app.

button_next

Go to the next page

check_condition

Called internally by the shiny server.

convert_suggestions

Convert suggestion from one suggestion format into the other

create_app_settings

Create app_settings.

execute_render

Called internally by the shiny server.

execute_run_after

Called internally by the shiny server when navigating to the next page...

execute_run_before

Called internally by the shiny server.

get_data

Load a standard dataset, while supporting overriding by the user.

get_final_codes

Get the final occupation codes

get_followup_questions

Get potential follow-up questions for a suggestion.

get_item_data

Retrieve data for an item.

get_job_suggestions

Make coding suggestions based on a user's open-ended text input.

get_page_data

Get questionnaire / page data.

get_responses

Convenience function to aggregate all saved results_overview files.

get_suggestion_info

Get additional information for a suggestion id.

leaving_page_backwards

Called internally by the shiny server when navigating to the previous ...

load_auxco

Load AuxCO from a directory of CSV files

load_kldb

Clean & Load KldB 2010 dataset.

new_page

Create a new questionnaire page.

page_choose_one_option

Show a page with multiple radio button options where once can be picke...

page_feedback

Page to receive feedback on how well the chosen suggestion fits

page_final

A final page, showing instructions to close the window.

Perform interactive occupation coding during interviews as described in Peycheva, D., Sakshaug, J., Calderwood, L. (2021) <doi:10.2478/jos-2021-0042> and Schierholz, M., Gensicke, M., Tschersich, N., Kreuter, F. (2018) <doi:10.1111/rssa.12297>. Generate suggestions for occupational categories based on free text input, with pre-trained machine learning models in German and a ready-to-use shiny application provided for quick and easy data collection.

  • Maintainer: Jan Simson
  • License: MIT + file LICENSE
  • Last published: 2023-09-27