lapop-central/lapop ? reverse-engineered prompt

Reverse engineered prompt

Build me an R package that helps with LAPOP AmericasBarometer data, especially cleaning up the variable and value labels and making the kinds of charts LAPOP uses in its reports.

I want it to read Stata files in a way that keeps the metadata, pull out the question wording and response options, let me switch labels into English, Spanish, or Portuguese, and make ready to use visualizations like histograms, cross country comparisons, time series, and breakdowns by covariates. It should also load the right fonts and apply the usual design settings automatically, then let me save the finished plot.

Please include a simple workflow I can follow in R, some clear helper functions, and a few examples or vignettes so it is easy to use. If you need to check current package docs online while building, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab