Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more population weighting targets #13

Open
7 tasks
soubhikbarari opened this issue May 17, 2023 · 1 comment
Open
7 tasks

Add more population weighting targets #13

soubhikbarari opened this issue May 17, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request weighting Issues related to weighting.

Comments

@soubhikbarari
Copy link
Owner

soubhikbarari commented May 17, 2023

Updated TODOs Jun 16 2023

Functionality:

  • have an option to specify keep.margins and remove.margins to keep/remove margins in the passed-in target
  • auto.map option if it makes sense, i.e. allow user to turn off auto-mapping dataframe columns to population variables
  • have an option to save a custom target distribution, or list of dataframes that the user is created, e.g. save_target

Specific distributions to save out the target files in inst/extdata/targets -- drawing from all the files we've created already from various projects -- and then also to turn into functions (in order of priority):

  • us_smallbiz_acs_23 (or something similar) for the small business weights that Zoe created
  • us_aapi_acs_19 (or something similar) for the weights we use for AAPI Data
  • tx_acs_19, ma_acs_19, etc. etc. for each state gen pop
  • us_acs_teens_19 or something similar for US teens (these weights should be on the dashboard backend folders somewhere)
@soubhikbarari soubhikbarari added enhancement New feature or request weighting Issues related to weighting. labels May 22, 2023
@soubhikbarari soubhikbarari changed the title Basic weighting functions Add more population weighting targets Jun 16, 2023
@soubhikbarari
Copy link
Owner Author

Adding this here, it would be awesome to be able to weight to this population of survey of LGBTQ Americans (we have done surveys with partners interested in this!)

https://williamsinstitute.law.ucla.edu/publications/lgbt-demo-comp-pop-surveys/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request weighting Issues related to weighting.
Projects
None yet
Development

No branches or pull requests

2 participants