Search for variables across multiple survey datasets, examine variable properties (labels, values, missingness), and explore variable context within datasets. Useful for navigating complex survey data with many variables and understanding variable relationships and metadata.
Search and examine variables across survey datasets with ease.
surveysearch provides tools to navigate complex survey data with many variables. It helps you:
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("malo-raballand/surveysearch")
# Search for variables containing "education"
search_variables("educ")
# Store results for further analysis
results <- search_variables("income")
View(results)
# Display detailed information about a variable
examine_variable("age", data = my_dataset)
# Get information without printing
info <- examine_variable("income", data = my_dataset, verbose = FALSE)
# See a variable's position in the survey with surrounding questions
show_variable_context("q501", data = my_dataset)
search_variables() - Search for variables across datasetsexamine_variable() - Get detailed information about a specific variableshow_variable_context() - View a variable's context within a datasethaven - for reading Stata, SPSS, and SAS filesdplyr - for data manipulationtidyr - for tidying dataMIT License - see LICENSE file for details
Malo Raballand (malo.raballand@sciencespo.fr)