Skip to content

Commit 15da9b4

Browse files
authored
Merge pull request #1081 from cmu-delphi/release/delphi-epidata-0.4.6
Release Delphi Epidata 0.4.6
2 parents 312b71f + aeadd7c commit 15da9b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1277
-690
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.4.5
2+
current_version = 0.4.6
33
commit = False
44
tag = False
55

dev/local/Makefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
# pdb=1 Drops you into debug mode upon test failure, if running tests.
3737
# test= Only runs tests in the directories provided here, e.g.
3838
# repos/delphi/delphi-epidata/tests/acquisition/covidcast
39+
# sql= Overrides the default SQL connection string.
3940

4041

4142
# Set optional argument defaults
@@ -49,6 +50,12 @@ ifndef test
4950
test=repos/delphi/delphi-epidata/tests repos/delphi/delphi-epidata/integrations
5051
endif
5152

53+
ifdef sql
54+
sqlalchemy_uri:=$(sql)
55+
else
56+
sqlalchemy_uri:=mysql+mysqldb://user:pass@delphi_database_epidata:3306/epidata
57+
endif
58+
5259
SHELL:=/bin/sh
5360

5461
# Get the Makefile's absolute path: https://stackoverflow.com/a/324782/4784655
@@ -78,7 +85,7 @@ web:
7885

7986
@# Run the web server
8087
@docker run --rm -p 127.0.0.1:10080:80 \
81-
--env "SQLALCHEMY_DATABASE_URI=mysql+mysqldb://user:pass@delphi_database_epidata:3306/epidata" \
88+
--env "SQLALCHEMY_DATABASE_URI=$(sqlalchemy_uri)" \
8289
--env "FLASK_SECRET=abc" --env "FLASK_PREFIX=/epidata" --env "LOG_DEBUG" \
8390
--network delphi-net --name delphi_web_epidata \
8491
delphi_web_epidata >$(LOG_WEB) 2>&1 &
@@ -123,7 +130,7 @@ test:
123130
@docker run -i --rm --network delphi-net \
124131
--mount type=bind,source=$(CWD)repos/delphi/delphi-epidata,target=/usr/src/app/repos/delphi/delphi-epidata,readonly \
125132
--mount type=bind,source=$(CWD)repos/delphi/delphi-epidata/src,target=/usr/src/app/delphi/epidata,readonly \
126-
--env "SQLALCHEMY_DATABASE_URI=mysql+mysqldb://user:pass@delphi_database_epidata:3306/epidata" \
133+
--env "SQLALCHEMY_DATABASE_URI=$(sqlalchemy_uri)" \
127134
--env "FLASK_SECRET=abc" \
128135
delphi_web_python python -m pytest --import-mode importlib $(pdb) $(test) | tee test_output_$(NOW).log
129136

@@ -132,7 +139,7 @@ bash:
132139
@docker run -it --rm --network delphi-net \
133140
--mount type=bind,source=$(CWD)repos/delphi/delphi-epidata,target=/usr/src/app/repos/delphi/delphi-epidata,readonly \
134141
--mount type=bind,source=$(CWD)repos/delphi/delphi-epidata/src,target=/usr/src/app/delphi/epidata,readonly \
135-
--env "SQLALCHEMY_DATABASE_URI=mysql+mysqldb://user:pass@delphi_database_epidata:3306/epidata" \
142+
--env "SQLALCHEMY_DATABASE_URI=$(sqlalchemy_uri)" \
136143
--env "FLASK_SECRET=abc" \
137144
delphi_web_python bash
138145

dev/local/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = Delphi Development
3-
version = 0.4.5
3+
version = 0.4.6
44

55
[options]
66
packages =

docs/api/covidcast-signals/_source-template.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@ geographic coverage, limits in its interpretation (symptoms in a survey aren't
6262
always caused by COVID, our healthcare partner only is part of the market, there
6363
may be a demographic bias in respondents, etc.), known inaccuracies, etc.
6464

65+
## Missingness
66+
67+
Describe *all* situations under which a value may not be reported, and what that
68+
means. If the signal ever reports NA, describe what that means and how it is
69+
different from missingness. For example:
70+
71+
When fewer than 100 survey responses are received in a geographic area on a
72+
specific day, no data is reported for that area on that day; an API query for
73+
all reported geographic areas on that day will not include it.
74+
6575
## Lag and Backfill
6676

6777
If this signal is reported with a consistent lag, describe it here.

docs/symptom-survey/end-of-survey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: End of CTIS Data Collection
33
parent: COVID-19 Trends and Impact Survey
4-
nav_order: 10
4+
nav_order: 11
55
---
66

77
# End of CTIS Data Collection

docs/symptom-survey/index.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ international version is [conducted by the University of
1616
Maryland](https://covidmap.umd.edu/). Data collection [ceased on June 25,
1717
2022](end-of-survey.md).
1818

19-
The [survey results dashboard](https://delphi.cmu.edu/covidcast/survey-results/)
20-
provides a high-level summary of survey results. Geographically aggregated data
21-
from this survey is publicly available through the [COVIDcast API](../api/covidcast.md)
22-
as the [`fb-survey` data source](../api/covidcast-signals/fb-survey.md). Demographic breakdowns of survey
23-
data are publicly available as [downloadable contingency tables](contingency-tables.md).
24-
2519
The [CTIS Methodology
2620
Report](https://dataforgood.facebook.com/dfg/resources/CTIS-methodology-report)
2721
describes the survey design, data collection process, weighting, and aggregation
@@ -34,6 +28,16 @@ access to the data, see our page on getting [data access](data-access.md).
3428
If you have questions about the survey or getting access to data, contact us at
3529
3630

31+
## Results
32+
33+
The [survey results dashboard](https://delphi.cmu.edu/covidcast/survey-results/)
34+
provides a high-level summary of survey results. Geographically aggregated data
35+
from this survey is publicly available through the [COVIDcast API](../api/covidcast.md)
36+
as the [`fb-survey` data source](../api/covidcast-signals/fb-survey.md). Demographic breakdowns of survey
37+
data are publicly available as [downloadable contingency tables](contingency-tables.md).
38+
39+
CTIS data has been used in [numerous peer-reviewed publications](publications.md).
40+
3741
## Credits
3842

3943
The US COVID-19 Trends and Impact Survey (CTIS) is a project of the [Delphi

docs/symptom-survey/publications.md

Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
---
2+
title: Publications
3+
parent: COVID-19 Trends and Impact Survey
4+
nav_order: 10
5+
---
6+
7+
# Publications Using CTIS
8+
9+
Since 2020, academic and nonprofit researchers have used data from the US
10+
COVID-19 Trends and Impact Survey in peer-reviewed research publications.
11+
12+
Our primary description of the survey and its results over the first year of
13+
operation was published as part of the [special feature "Beyond Cases and
14+
Deaths: The Benefits of Auxiliary Data Streams in Tracking the COVID-19
15+
Pandemic"](https://www.pnas.org/topic/548) in *PNAS*:
16+
17+
- J. Salomon, A. Reinhart, A. Bilinski, E. J. Chua, W. La Motte-Kerr, M. M.
18+
Rönn, M. B. Reitsma, K. A. Morris, S. LaRocca, T. H. Farag, F. Kreuter, R.
19+
Rosenfeld, and R. J. Tibshirani (2021). [The US COVID-19 Trends and Impact
20+
Survey: Continuous real-time measurement of COVID-19 symptoms, risks,
21+
protective behaviors, testing, and
22+
vaccination](https://doi.org/10.1073/pnas.2111454118). *Proceedings of the
23+
National Academy of Sciences* 118 (51) e2111454118.
24+
25+
## Peer Reviewed Papers
26+
27+
Research publications using the survey data include:
28+
29+
- Rebecca L. Weintraub et al (2023). [Identifying COVID-19 Vaccine Deserts and
30+
Ways to Reduce Them: A Digital Tool to Support Public Health
31+
Decision-Making](https://doi.org/10.2105/AJPH.2022.307198). *American Journal
32+
of Public Health*.
33+
- Anzalone AJ, Sun J, Vinson AJ, Beasley WH, Hillegass WB, Murray K, et al.
34+
(2023). [Community risks for SARS-CoV-2 infection among fully vaccinated US
35+
adults by rurality: A retrospective cohort study from the National COVID
36+
Cohort Collaborative](https://doi.org/10.1371/journal.pone.0279968). *PLoS
37+
ONE* 18(1): e0279968.
38+
- Rufino, J., Baquero, C., Frey, D. et al (2023). [Using survey data to estimate
39+
the impact of the omicron variant on vaccine efficacy against COVID-19
40+
infection](https://doi.org/10.1038/s41598-023-27951-3). *Scientific Reports*
41+
13, 900 (2023).
42+
- Rader, B., Astley, C.M., Sewalk, K. et al (2022). [Spatial modeling of vaccine
43+
deserts as barriers to controlling
44+
SARS-CoV-2](https://doi.org/10.1038/s43856-022-00183-8). *Communications
45+
Medicine* 2, 141.
46+
- C. Lupton-Smith, E. Badillo Goicoechea, M. Collins, J. Lessler, M. K.
47+
Grabowski & E. A. Stuart (2022). [Consistency between Household and County
48+
Measures of Onsite Schooling during the COVID-19
49+
Pandemic](https://doi.org/10.1080/19345747.2022.2131660). *Journal of Research
50+
on Educational Effectiveness*.
51+
- Nguyen, Q.C., Yardi, I., Gutierrez, F.X.M. et al. (2022). [Leveraging 13
52+
million responses to the U.S. COVID-19 Trends and Impact Survey to examine
53+
vaccine hesitancy, vaccination, and mask wearing, January 2021-February
54+
2022](https://doi.org/10.1186/s12889-022-14286-3). *BMC Public Health* 22,
55+
1911.
56+
- J. G. Lu (2022). [Two large-scale global studies on COVID-19 vaccine hesitancy
57+
over time: Culture, uncertainty avoidance, and vaccine side-effect
58+
concerns](https://doi.org/10.1037/pspa0000320). *Journal of Personality and
59+
Social Psychology*.
60+
- J. M. Cox-Ganser, P. K. Henneberger, D. N. Weissman, G. Guthrie, and C. P.
61+
Groth (2022). [COVID-19 test positivity by occupation using the Delphi US
62+
COVID-19 Trends and Impact Survey, September–November
63+
2020](https://doi.org/10.1002/ajim.23410). *American Journal of Industrial
64+
Medicine* 65 (9), 721-730.
65+
- M. Jahja, A. Chin, and R.J. Tibshirani (2022). [Real-Time Estimation of
66+
COVID-19 Infections: Deconvolution and Sensor
67+
Fusion](https://doi.org/10.1214/22-STS856). *Statistical Science* 37 (2),
68+
207-228.
69+
- Henneberger, PK, Cox-Ganser, JM, Guthrie, GM, Groth, CP (2022). [Estimates of
70+
COVID-19 vaccine uptake in major occupational groups and detailed occupational
71+
categories in the United States, April–May
72+
2021](https://doi.org/10.1002/ajim.23370). *American Journal of Industrial
73+
Medicine* 65 (7), 525-536.
74+
- K. E. Wiens, C. P. Smith, E. Badillo-Goicoechea, K. H. Grantz, M. K.
75+
Grabowski, A. S. Azman, E. A. Stuart, and J. Lessler (2022). [In-person
76+
schooling and associated COVID-19 risk in the United States over spring
77+
semester 2021](https://doi.org/10.1126/sciadv.abm9128). *Science Advances* 8,
78+
eabm9128.
79+
- F. Petersen, A. Errore, and P. Karaca-Mandic (2022). [Lifting statewide mask
80+
mandates and COVID-19 cases: A synthetic control
81+
study](https://doi.org/10.1097/MLR.0000000000001725). *Medical Care* 60 (7),
82+
538-544.
83+
- F. Pierri, B. L. Perry, M. R. DeVerna, et al. (2022). [Online misinformation
84+
is linked to early COVID-19 vaccination hesitancy and
85+
refusal](https://doi.org/10.1038/s41598-022-10070-w). *Scientific Reports* 12,
86+
5966.
87+
- A. Pilehvari, J. Ton, M. R. Mohan, A. Marathe, and A. Vullikanti (2022).
88+
[Drivers and Predictors of COVID-19 Vaccine Hesitancy in
89+
Virginia](https://doi.org/10.1007/978-3-030-96188-6_8). In: Yang, Z., von
90+
Briesen, E. (eds), *Proceedings of the 2021 Conference of The Computational
91+
Social Science Society of the Americas*. CSSSA 2021.
92+
- L. S. Flor, J. Friedman, C. N. Spencer, et al. (2022). [Quantifying the
93+
effects of the COVID-19 pandemic on gender equality on health, social, and
94+
economic indicators: a comprehensive review of data from March, 2020, to
95+
September, 2021](https://doi.org/10.1016/S0140-6736(22)00008-3). *The Lancet*
96+
399 (10344), 2381-2397.
97+
- D. P. Do and R. Frank (2022). [Prior COVID-19 infection: an underappreciated
98+
factor in vaccine hesitancy in the
99+
USA](https://doi.org/10.1093/pubmed/fdab404). *Journal of Public Health* 44
100+
(2), 471-474.
101+
- W. C. King, M. Rubinstein, A. Reinhart, and R. J. Mejia (2021). [Time trends,
102+
factors associated with, and reasons for COVID-19 vaccine hesitancy: A massive
103+
online survey of US adults from January-May
104+
2021](https://doi.org/10.1371/journal.pone.0260731). *PLoS ONE* 16 (12),
105+
e0260731.
106+
- C. Lupton-Smith, E. Badillo-Goicochea, T.-H. Chang, H. Maniates, K. E. Riehm,
107+
I. Schmid, and E. A. Stuart (2021). [Factors associated with county-level
108+
mental health during the COVID-19
109+
pandemic](https://doi.org/10.1002/jcop.22785). *Journal of Community
110+
Psychology* 50 (5), 2431-2442.
111+
- D. P. Do and R. Frank (2021). [U.S. frontline workers and COVID-19
112+
inequities](https://doi.org/10.1016/j.ypmed.2021.106833). *Preventive
113+
Medicine* 153, 106833.
114+
- W. C. King, M. Rubinstein, A. Reinhart, and R. J. Mejia (2021). [COVID-19
115+
vaccine hesitancy January-May 2021 among 18–64 year old US adults by
116+
employment and occupation](https://doi.org/10.1016/j.pmedr.2021.101569).
117+
*Preventive Medicine Reports* 24, 101569.
118+
- C. H. Sudre, A. Keshet, M. S. Graham, A. D. Joshi, S. Shilo, H. Rossman, B.
119+
Murray, E. Molteni, K. Klaser, L. D. Canas, M. Antonelli, L. H. Nguyen, D. A.
120+
Drew, M. Modat, J. Capdevila Pujol, S. Ganesh, J. Wolf, T. Meir, A. T. Chan,
121+
C. J. Steves, T. D. Spector, J. S. Brownstein, E. Segal, S. Ourselin, and C.
122+
M. Astley (2021). [Anosmia, ageusia, and other COVID-19-like symptoms in
123+
association with a positive SARS-CoV-2 test, across six national digital
124+
surveillance platforms: an observational
125+
study](https://doi.org/10.1016/S2589-7500(21)00115-1). *The Lancet Digital
126+
Health* 3 (9), e577-e586.
127+
- R. Sukumaran, P. Patwa, S. T V, S. Shankar, R. Kanaparti, J. Bae, Y. Mathur,
128+
A. Singh, A. Chopra, M. Kang, P. Ramaswamy, and R. Raskar (2021). [COVID-19
129+
outbreak prediction and analysis using self reported
130+
symptoms](https://doi.org/10.35566/jbds/v1n1/p8). *Journal of Behavioral Data
131+
Science* 1 (1), 154–169.
132+
- D. Adjodah, K. Dinakar, M. Chinazzi, S. P. Fraiberger, A. Pentland, S. Bates,
133+
K. Staller, A. Vespignani, and D. L. Bhatt (2021). [Association between
134+
COVID-19 outcomes and mask mandates, adherence, and
135+
attitudes](https://doi.org/10.1371/journal.pone.0252315). *PLoS ONE* 16 (6),
136+
e0252315.
137+
- C. M. Zipfel, V. Colizza, and S. Bansal (2021). [The missing season: The
138+
impacts of the COVID-19 pandemic on
139+
influenza](https://doi.org/10.1016/j.vaccine.2021.05.049). *Vaccine* 39 (28),
140+
3645-3648.
141+
- J. Lessler, M. K. Grabowski, K. H. Grantz, E. Badillo-Goicoechea, C. J. E.
142+
Metcalf, C. Lupton-Smith, A. S. Azman, and E. A. Stuart (2021). [Household
143+
COVID-19 risk and in-person
144+
schooling](https://doi.org/10.1126/science.abh2939). *Science* 372 (6545),
145+
1092-1097.
146+
- Doerr, A.J. (2021). [Locked (Down) and Loaded (Language): Effect of Policy and
147+
Speech on COVID-19 Outcomes](https://doi.org/10.1177/15480518211012404).
148+
*Journal of Leadership & Organizational Studies* 28 (3), 340-348.
149+
- Fischer CB, Adrien N, Silguero JJ, Hopper JJ, Chowdhury AI, Werler MM (2021).
150+
[Mask adherence and rate of COVID-19 across the United
151+
States](https://doi.org/10.1371/journal.pone.0249891). *PLoS ONE* 16 (4),
152+
e0249891.
153+
- Bilinski, A., Emanuel, E., Salomon, J.A. and Venkataramani, A. (2021). [Better
154+
Late Than Never: Trends in COVID-19 Infection Rates, Risk Perceptions, and
155+
Behavioral Responses in the USA](https://doi.org/10.1007/s11606-021-06633-8).
156+
*Journal of General Internal Medicine* 36, 1825-1828.
157+
- Molteni, E., Astley, C.M., Ma, W. et al. (2021). [Symptoms and syndromes
158+
associated with SARS-CoV-2 infection and severity in pregnant women from two
159+
community cohorts](https://doi.org/10.1038/s41598-021-86452-3). *Scientific
160+
Reports* 11, 6928.
161+
- Rebeiro, P., Aronoff, D, and Smith, M.K. (2021). [The Impact of State
162+
Mask-Wearing Requirements on the Growth of COVID-19 Cases, Hospitalizations,
163+
and Deaths in the United States](https://doi.org/10.1093/cid/ciab101).
164+
*Clinical Infectious Diseases* 73 (9), 1703–1706.
165+
- Rader, White, Burns, Chen, Brilliant, Cohen, Shaman, Brilliant, Kraemer,
166+
Moritz, Hawkins, Scarpino, Astley, and Brownstein (2021). [Mask-wearing and
167+
control of SARS-CoV-2 transmission in the USA: a cross-sectional
168+
study](https://doi.org/10.1016/S2589-7500(20)30293-4). *Lancet Digital Health*
169+
3 (3), e148-e157.
170+
- Flaxman AD, Henning DJ and Duber HC (2020). [The relative incidence of
171+
COVID-19 in healthcare workers versus non-healthcare workers: evidence from a
172+
web-based survey of Facebook users in the United
173+
States](https://doi.org/10.12688/gatesopenres.13202.2). *Gates Open Research*,
174+
4:174.
175+
- Kreuter, F., Barkay, N., Bilinski, A., Bradford, A., Chiu, S., Eliat, R., Fan,
176+
J., Galili, T., Haimovich, D., Kim, B., LaRocca, S., Li, Y., Morris, K.,
177+
Presser, S., Sarig, T., Salomon, J. A., Stewart, K., Stuart, E. A., &
178+
Tibshirani, R. J. (2020). [Partnering with a global platform to inform
179+
research and public policy
180+
making](https://doi.org/10.18148/srm/2020.v14i2.7761). *Survey Research
181+
Methods*, 14 (2), 159-163.
182+
183+
## Blog Posts and Reports
184+
185+
* Surgo Ventures, Resolve to Save Lives (2021). [COVID-19 Vaccine Precision
186+
Response Toolkit: An End-to-End Vaccination Improvement Framework to Improve
187+
COVID-19 Vaccine
188+
Uptake](https://surgoventures.org/resource-library/increasing-covid-19vaccine-uptake-a-four-step-framework-to-promote-access-acceptance-and-equity).
189+
* Alejandra Arrieta, Emmanuela Gakidou, Heidi Larson, Erin Mullany, and
190+
Christopher Troeger, April 1, 2021. [Through Understanding and Empathy, We Can
191+
Convince Women to Get the COVID-19
192+
Vaccine](https://www.thinkglobalhealth.org/article/through-understanding-and-empathy-we-can-convince-women-get-covid-19-vaccine).
193+
Think Global Health.
194+
* Joseph Friedman, Silvia Montoya and Emmanuela Gakidou, March 8, 2021. [Gender
195+
Equality in the Global Return to
196+
School](https://www.thinkglobalhealth.org/article/gender-equality-global-return-school).
197+
Think Global Health.
198+
* Leanna Morinishi, Kris Barkume, Esther Kim, and Alex Reinhart, February
199+
2, 2021. [Home for the Holidays? The Impact of US Holidays on Social Behaviors
200+
and Preventative
201+
Measures](https://delphi.cmu.edu/blog/2021/02/02/home-for-the-holidays-the-impact-of-us-holidays-on-social-behaviors-and-preventative-measures/).
202+
Delphi blog.
203+
* Alex Reinhart, Esther Kim, Andy Garcia, and Sarah LaRocca, January 28, 2021.
204+
[Using the COVID-19 Symptom Survey to Track Vaccination Uptake and Sentiment
205+
in the United
206+
States](https://delphi.cmu.edu/blog/2021/01/28/using-the-covid-19-symptom-survey-to-track-vaccination-uptake-and-sentiment-in-the-united-states/).
207+
Delphi blog.
208+
* Alex Reinhart, October 12, 2020. [New and Improved COVID Symptom Survey Tracks
209+
Testing and
210+
Mask-Wearing](https://delphi.cmu.edu/blog/2020/10/12/new-and-improved-covid-symptom-survey-tracks-testing-and-mask-wearing/).
211+
Delphi blog.
212+
* Ryan Tibshirani, September 21, 2020. [Can Symptom Surveys Improve COVID-19
213+
Forecasts?](https://delphi.cmu.edu/blog/2020/09/21/can-symptoms-surveys-improve-covid-19-forecasts/)
214+
Delphi blog.
215+
* Alex Reinhart and Ryan Tibshirani, August 26, 2020. [COVID-19 Symptom Surveys
216+
through
217+
Facebook](https://delphi.cmu.edu/blog/2020/08/26/covid-19-symptom-surveys-through-facebook/).
218+
Delphi blog.
219+
220+
## Send Your Publications
221+
222+
If you have used the survey data, or the aggregate data available in the
223+
COVIDcast API, to publish research results, please contact us at
224+
<[email protected]> so we can include your work here.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
geo_id,value,stderr,sample_size,issue,time_value,geo_type,signal,source
2-
d_nonlatest,0,0,0,1,0,geo,sig,src
3-
d_latest, 0,0,0,3,0,geo,sig,src
4-
d_justone, 0,0,0,1,0,geo,sig,src
2+
d_nonlatest,0,0,0,1,0,county,sig,src
3+
d_latest, 0,0,0,3,0,county,sig,src
4+
d_justone, 0,0,0,1,0,county,sig,src

integrations/acquisition/covidcast/test_csv_uploading.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ def test_uploading(self):
213213
"time_value": [20200419],
214214
"signal": [signal_name],
215215
"direction": [None]})], axis=1).rename(columns=uploader_column_rename)
216-
expected_values_df["missing_value"].iloc[0] = Nans.OTHER
217-
expected_values_df["missing_sample_size"].iloc[0] = Nans.NOT_MISSING
216+
expected_values_df.loc[0, "missing_value"] = Nans.OTHER
217+
expected_values_df.loc[0, "missing_sample_size"] = Nans.NOT_MISSING
218218
expected_values = expected_values_df.to_dict(orient="records")
219219
expected_response = {'result': 1, 'epidata': self.apply_lag(expected_values), 'message': 'success'}
220220

0 commit comments

Comments
 (0)