Survey Data Cleaning, Weighting and Analysis
Rake survey weights to match population targets
Remove duplicate rows from survey data
Standardize categorical values
Calculate weighted mean
Calculate weighted total
Apply survey weights to data
Clean missing values in specified column
Generate comprehensive survey description
Generate frequency table for categorical variable
Declare global variables to suppress NOTES in CRAN checks
Create publication-quality box plot
Create publication-quality histogram
Create weighted bar plot for categorical variables
Generate cross-tabulation table with chi-square test
Provides utilities for cleaning survey data, computing weights, and performing descriptive statistical analysis. Methods follow Lohr (2019, ISBN:978-0367272454) "Sampling: Design and Analysis" and Lumley (2010) <doi:10.1002/9780470580066>.