Skip to content

Commit 13d0135

Browse files
committed
quidel signal-specific missingness
1 parent 3814899 commit 13d0135

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

scripts/signal_spreadsheet_updater.R

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,14 +838,21 @@ missingness <- c(
838838
"indicator-combination" = paste(all_counties_terr, all_states_terr),
839839
"jhu-csse" = paste(all_counties_terr, all_states_terr),
840840
"nchs-mortality" = paste(all_states_terr),
841-
"quidel" = "Geographic coverage for some age groups (e.g. age 0-4 and age 65+) are extremely limited at HRR and MSA level, and can even be limited at state level on weekends.",
841+
"quidel" = NA_character_, # below
842842
"safegraph" = paste(all_counties_terr, all_states_terr),
843843
"usa-facts" = paste(all_counties_terr, all_states),
844844
"youtube-survey" = NA_character_ # See https://github.com/cmu-delphi/covid-19/tree/main/youtube # below
845845
)
846846
source_updated[, col] <- missingness[source_updated$data_source]
847847

848848
google_symptoms_note <- "Signals associated with rarer symptoms (e.g. ageusia) will tend to have fewer locations available, due to upstream privacy censoring. Locations with lower populations will tend to be less available for the same reason"
849+
850+
# Quidel
851+
smoothed_nonage_groups <- "Data is available for about 50% of counties, and all or nearly all states."
852+
raw_nonage_groups <- "Data is available for about 7% of counties, half that on weekends. Data is available for about 90% of states, about 70% on weekends"
853+
smoothed_age_groups <- "Data is available for about 5-15% of counties. 65-95% of states."
854+
raw_age_groups <- "Data is available for about 0.7-2% of counties, half that on weekends. Data is available for about 30-45% of states, half that on weekends. Geographic coverage for smaller age groups (age 0-4 and age 65+) are also extremely limited at the HRR and MSA levels"
855+
849856
signal_specific_missingness <- tibble::tribble(
850857
~data_source, ~signal, ~note,
851858
"indicator-combination", "nmf_day_doc_fbc_fbs_ght", paste("Data is available for about 80% of counties", all_states_terr),
@@ -892,6 +899,28 @@ signal_specific_missingness <- tibble::tribble(
892899
"google-symptoms", "scontrol_smoothed_search", paste("Data is available for about 45% of counties.", all_states, google_symptoms_note),
893900
"google-symptoms", "sum_anosmia_ageusia_raw_search", paste("Data is available for about 3-4% of counties. Data is available for about 85% of states.", google_symptoms_note),
894901
"google-symptoms", "sum_anosmia_ageusia_smoothed_search", paste("Data is available for about 3-4% of counties. Data is available for about 85% of states.", google_symptoms_note),
902+
903+
# covid
904+
"quidel", "covid_ag_raw_pct_positive", raw_nonage_groups,
905+
"quidel", "covid_ag_smoothed_pct_positive", smoothed_nonage_groups,
906+
"quidel", "covid_ag_raw_pct_positive_age_0_17", raw_age_groups,
907+
"quidel", "covid_ag_smoothed_pct_positive_age_0_17", smoothed_age_groups,
908+
"quidel", "covid_ag_raw_pct_positive_age_0_4", raw_age_groups,
909+
"quidel", "covid_ag_smoothed_pct_positive_age_0_4", smoothed_age_groups,
910+
"quidel", "covid_ag_raw_pct_positive_age_18_49", raw_age_groups,
911+
"quidel", "covid_ag_smoothed_pct_positive_age_18_49", smoothed_age_groups,
912+
"quidel", "covid_ag_raw_pct_positive_age_5_17", raw_age_groups,
913+
"quidel", "covid_ag_smoothed_pct_positive_age_5_17", smoothed_age_groups,
914+
"quidel", "covid_ag_raw_pct_positive_age_50_64", raw_age_groups,
915+
"quidel", "covid_ag_smoothed_pct_positive_age_50_64", smoothed_age_groups,
916+
"quidel", "covid_ag_raw_pct_positive_age_65plus", raw_age_groups,
917+
"quidel", "covid_ag_smoothed_pct_positive_age_65plus", smoothed_age_groups,
918+
919+
# flu
920+
"quidel", "raw_pct_negative", raw_nonage_groups,
921+
"quidel", "smoothed_pct_negative", smoothed_nonage_groups,
922+
"quidel", "raw_tests_per_device", raw_nonage_groups,
923+
"quidel", "smoothed_tests_per_device", smoothed_nonage_groups,
895924
)
896925

897926
# Add signal-specific missingness

0 commit comments

Comments
 (0)