-
Notifications
You must be signed in to change notification settings - Fork 16
[CTIS] New indicators to round out contingency tables before archival #1635
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
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
a09c72e
V2a "received all doses"
nmdefries 3da6946
Q36 "yes financial threat"
nmdefries f41aff0
C14a "wear mask + some of the time"
nmdefries 71a985c
H1 people distancing + "some of the time"
nmdefries 320420c
C16/H2 people masked + "some of the time"
nmdefries 081b8c1
H3 friends vaccinated + "some"
nmdefries a150e3a
C17* historical flu vaccines
nmdefries facc765
C2 flu vaccine last 12m
nmdefries f3bd939
mental health + sometimes
nmdefries 29a8baa
C11/C12 historical in contact with COVID-+ person
nmdefries fe26aa4
all work_outside_home varieties
nmdefries 918fd8e
work with high-risk populations
nmdefries 9a65ac6
reasons why people are not planning to complete the vaccine series
nmdefries 0420df6
reasons why not tested for covid
nmdefries f09d2dc
B* all followups to unusual symptoms question
nmdefries 0df4d15
D10 work for pay outside home among those working
nmdefries 23758e6
define variables we want to find the mean for
nmdefries bca27e8
define mean + percentiles calc function
nmdefries cf2ef61
test mean calculation
nmdefries 7148e84
move new mental health inds to contingency-only func
nmdefries a6ede6b
move new flu shot inds to contingency-only func
nmdefries fbb681b
move vaccine incomplete reasons to contingency-only
nmdefries 4b6687e
test some alt masking inds
nmdefries ad23a3d
overall vaccine hesitancy
nmdefries 1b529a5
unusual symptom followup change meaning
nmdefries 5ef3105
calc more demographics
nmdefries e29eac7
mean hh member by age from A5_123
nmdefries 6aaec84
mean number of hh members from D3-5
nmdefries 39b3400
unknown gender; child age cuts
nmdefries aecf0fd
add overall county indicators; remove monthly-only
nmdefries 85564cc
make theme tables
nmdefries 0a981e5
county metadata
nmdefries dd384ff
swap stringr for stringi
nmdefries c653918
tests
nmdefries 4785af5
lower overall sample size threshold
nmdefries 0ccfaa8
raise n thres only for county
nmdefries a51df29
round all sample sizes
nmdefries 1d396fb
tests missing theme tables
nmdefries fd3f4d2
Merge branch 'ndefries/theme-tables' into ndefries/lower-contingency-…
nmdefries a98d4bd
filter out gender self-described responses
nmdefries 7885d0b
return empty result if n=1 to avoid svydesign error
nmdefries c72d452
respect parallel_max_cores
nmdefries 6760ce3
retain field names when adding geo info
nmdefries ebcb8a4
Update facebook/delphiFacebook/R/responses.R
nmdefries 78c8d4d
combine select and mutate
nmdefries a558503
High blood pressure code
nmdefries 135efce
name symp_other_unusual
nmdefries e39c044
make hh_direct_contact out of all respondents
nmdefries 5044a06
ignore idk from E3 school measures
nmdefries 07eceff
ignore B7 in wave 10
nmdefries f89e7ff
Merge pull request #1647 from cmu-delphi/ndefries/county-tables-metadata
nmdefries e73ff14
Merge pull request #1646 from cmu-delphi/ndefries/lower-contingency-t…
nmdefries bf96a5f
Merge pull request #1649 from cmu-delphi/ndefries/gender-freeresponse…
nmdefries d957a3d
Merge pull request #1645 from cmu-delphi/ndefries/theme-tables
nmdefries File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, why are we using
oldsvyquantileinstead ofsvyquantile? I don't know the details of what changedThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incidentally you might like srvyr, which provides a tidy interface to the survey package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
svyquantiledoesn't work for older versions of R, so Esther switched her code to use theoldversion of the function. Context. Looks like the old one is slower and less flexible.The approach I implemented here is just a simplified version of Esther's code, since we already have sample size filters, e.g., elsewhere.