Survey.jl
Survey.jl copied to clipboard
Create multistage stratified sample from `apipop`
Multistage stratified surveys have stratas and clustering.
I suggest drawing a sample from apipop with strata and clustering and export it in assets/
. Use that data for testing the various algorithms in Survey.jl
- [ ] Draw a multistage stratified sample from
assets/apipop
- [ ] Save it as assets/apimultistrat
Keep it as flat file (.csv) for now
@britgyu wants to do this. @smishr are you confident this is a “good first issue”?
@britgyu wants to do this. @smishr are you confident this is a “good first issue”?
yes. they should give link to the code they used for drawing the multi stage sample, so we can double check and tweak if needed
I remember there being a page where the author using dplyr to create sample datasets from apipop. Do you remember?
yes i have that code somewhere in my testing R file
Can you dig out the link? I remember it was using srvyr
Click on drop down arrow where it says "Show R Code to make data" on this blog post