Tools for Reproducible Wellbeing and Survey Data Analysis


[Up] [Top]

Documentation for package ‘flourishR’ version 0.2.0

Help Pages

change_scores Calculate change from an earlier wave
check_missingness Summarise missing data patterns
check_retention Examine longitudinal survey retention
country_moderation Test heterogeneity of country-specific coefficients
create_lags Create exact-wave lagged variables
describe_countries Describe numeric variables by GFS country
gfs_countries Global Flourishing Study country labels
gfs_design Construct a Global Flourishing Study survey design
gfs_dictionary Global Flourishing Study variable dictionary
gfs_prepare Prepare Global Flourishing Study data
gfs_weights Select Global Flourishing Study survey weights
join_country_data Join country-level contextual data
label_to_factor Convert labelled survey variables to factors
loop_countries Apply an analysis function across countries
loop_longitudinal Fit prospective country-specific survey regressions
meta_countries Pool country-specific coefficients
plot_country_effects Plot country-specific coefficients
plot_cross_national Plot mean outcomes across countries
plot_longitudinal Plot longitudinal outcome trajectories
plot_missingness Plot item missingness
plot_retention Plot longitudinal retention
recode_missing Recode survey-specific missing values to NA
score_tipi Score the Ten-Item Personality Inventory
within_between Decompose time-varying variables into within- and between-person components