From d122f576f04f0bcc2cadd05ad72a9d5e429b11ae Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Wed, 30 Jun 2021 15:09:49 +0200 Subject: [PATCH 01/10] docs: fix client links to published packages/source --- docs/api/covid_hosp.md | 2 +- docs/api/covid_hosp_facility.md | 2 +- docs/api/covid_hosp_facility_lookup.md | 2 +- docs/api/covidcast_meta.md | 2 +- docs/api/flusurv.md | 2 +- docs/api/fluview.md | 2 +- docs/api/fluview_clinical.md | 2 +- docs/api/gft.md | 2 +- docs/api/nidss_dengue.md | 2 +- docs/api/nidss_flu.md | 2 +- docs/api/nowcast.md | 2 +- docs/api/sensors.md | 2 +- docs/api/wiki.md | 2 +- docs/new_endpoint_tutorial.md | 6 +++--- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/api/covid_hosp.md b/docs/api/covid_hosp.md index ca312e3ed..863d7c48a 100644 --- a/docs/api/covid_hosp.md +++ b/docs/api/covid_hosp.md @@ -143,7 +143,7 @@ https://delphi.cmu.edu/epidata/covid_hosp_state_timeseries/?states=MA&dates=2020 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following sample shows how to import the library and fetch MA on 2020-05-10 (per most recent issue). diff --git a/docs/api/covid_hosp_facility.md b/docs/api/covid_hosp_facility.md index 82508d5b1..f85f324d0 100644 --- a/docs/api/covid_hosp_facility.md +++ b/docs/api/covid_hosp_facility.md @@ -190,7 +190,7 @@ https://delphi.cmu.edu/epidata/covid_hosp_facility/?hospital_pks=390119&collecti # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following sample shows how to import the library and fetch Moses Taylor Hospital (Scranton, PA) on the first collection week of December 2020 (per most recent issue). diff --git a/docs/api/covid_hosp_facility_lookup.md b/docs/api/covid_hosp_facility_lookup.md index bd98c4788..1fea970fe 100644 --- a/docs/api/covid_hosp_facility_lookup.md +++ b/docs/api/covid_hosp_facility_lookup.md @@ -99,7 +99,7 @@ https://delphi.cmu.edu/epidata/covid_hosp_facility_lookup/?city=southlake # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following sample shows how to import the library and fetch facilities in the city of Southlake (TX). diff --git a/docs/api/covidcast_meta.md b/docs/api/covidcast_meta.md index 67f8b5867..82c4579e2 100644 --- a/docs/api/covidcast_meta.md +++ b/docs/api/covidcast_meta.md @@ -73,7 +73,7 @@ https://api.covidcast.cmu.edu/epidata/covidcast_meta/ ## Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch Delphi's COVID-19 Surveillance Streams metadata. ### JavaScript (in a web browser) diff --git a/docs/api/flusurv.md b/docs/api/flusurv.md index c04923750..865a0977e 100644 --- a/docs/api/flusurv.md +++ b/docs/api/flusurv.md @@ -105,7 +105,7 @@ https://delphi.cmu.edu/epidata/flusurv/?locations=ca&epiweeks=202001 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch CA FluView Clinical data for epiweeks `201940` and `202001-202010` (11 weeks total). ### JavaScript (in a web browser) diff --git a/docs/api/fluview.md b/docs/api/fluview.md index ad37c32c0..7dbdd5518 100644 --- a/docs/api/fluview.md +++ b/docs/api/fluview.md @@ -120,7 +120,7 @@ https://delphi.cmu.edu/epidata/fluview/?regions=nat&epiweeks=201453&issues=20150 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch national FluView data for epiweeks `201440` and `201501-201510` (11 weeks total). diff --git a/docs/api/fluview_clinical.md b/docs/api/fluview_clinical.md index 11906bde7..2e6fb0aa0 100644 --- a/docs/api/fluview_clinical.md +++ b/docs/api/fluview_clinical.md @@ -94,7 +94,7 @@ https://delphi.cmu.edu/epidata/fluview_clinical/?regions=nat&epiweeks=202001 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch national FluView Clinical data for epiweeks `201940` and `202001-202010` (11 weeks total). ### JavaScript (in a web browser) diff --git a/docs/api/gft.md b/docs/api/gft.md index b373b517b..ed43eeecb 100644 --- a/docs/api/gft.md +++ b/docs/api/gft.md @@ -69,7 +69,7 @@ https://delphi.cmu.edu/epidata/gft/?locations=nat&epiweeks=201501 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch Google Flu Trends data for epiweeks `201440` and `201501-201510` (11 weeks total). ### JavaScript (in a web browser) diff --git a/docs/api/nidss_dengue.md b/docs/api/nidss_dengue.md index eec6cb737..a051cef83 100644 --- a/docs/api/nidss_dengue.md +++ b/docs/api/nidss_dengue.md @@ -69,7 +69,7 @@ https://delphi.cmu.edu/epidata/nidss_dengue/?locations=nationwide&epiweeks=20150 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch national NIDSS Dengue data for epiweeks `201440` and `201501-201510` (11 weeks total). ### JavaScript (in a web browser) diff --git a/docs/api/nidss_flu.md b/docs/api/nidss_flu.md index 591493531..7d08bf0b7 100644 --- a/docs/api/nidss_flu.md +++ b/docs/api/nidss_flu.md @@ -90,7 +90,7 @@ https://delphi.cmu.edu/epidata/nidss_flu/?regions=nationwide&epiweeks=201501 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch national NIDSS Flu data for epiweeks `201440` and `201501-201510` (11 weeks total). ### JavaScript (in a web browser) diff --git a/docs/api/nowcast.md b/docs/api/nowcast.md index eb295659e..f724f7a97 100644 --- a/docs/api/nowcast.md +++ b/docs/api/nowcast.md @@ -73,7 +73,7 @@ https://delphi.cmu.edu/epidata/nowcast/?locations=nat&epiweeks=202001 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch national ILI Nearby data for epiweeks `201940` and `202001-202010` (11 weeks total). ### JavaScript (in a web browser) diff --git a/docs/api/sensors.md b/docs/api/sensors.md index e4dc93e02..03967faef 100644 --- a/docs/api/sensors.md +++ b/docs/api/sensors.md @@ -90,7 +90,7 @@ https://delphi.cmu.edu/epidata/sensors/?names=sar3&locations=nat&epiweeks=202001 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch national Delphi's Digital Surveillance SAR3 Sensor data for epiweeks `201940` and `202001-202010` (11 weeks total). ### JavaScript (in a web browser) diff --git a/docs/api/wiki.md b/docs/api/wiki.md index 58249b394..5fd56116a 100644 --- a/docs/api/wiki.md +++ b/docs/api/wiki.md @@ -107,7 +107,7 @@ https://delphi.cmu.edu/epidata/wiki/?language=en&articles=influenza&dates=202001 # Code Samples -Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R). +Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R). The following samples show how to import the library and fetch national Wikipedia Access data for article "influenza" on epiweeks `201940` and `202001-202010` (11 weeks total) for hours 0 and 12 in English. diff --git a/docs/new_endpoint_tutorial.md b/docs/new_endpoint_tutorial.md index c5739768c..a32530d3f 100644 --- a/docs/new_endpoint_tutorial.md +++ b/docs/new_endpoint_tutorial.md @@ -83,7 +83,7 @@ what this looks like. Here's what we add to each client: -- [`delphi_epidata.js`](../src/client/delphi_epidata.js) +- [`delphi_epidata.js`](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js) ```javascript // within createEpidataAsync return { @@ -110,7 +110,7 @@ Here's what we add to each client: } ``` -- [`delphi_epidata.py`](../src/client/delphi_epidata.py) +- [`delphi_epidata.py`](https://pypi.org/project/delphi-epidata/) Note that this file, unlike the others, is released as a public package, available to install easily through Python's `pip` tool. That package should @@ -130,7 +130,7 @@ Here's what we add to each client: return Epidata._request(params) ``` -- [`delphi_epidata.R`](../src/client/delphi_epidata.R) +- [`delphi_epidata.R`](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R) ```R # Fetch FluView metadata From 6b671c08e0b59c7c290053c2b8ff0bb77fe4a0a8 Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Wed, 30 Jun 2021 15:21:30 +0200 Subject: [PATCH 02/10] docs: fix more relative links --- docs/api/afhsb.md | 2 +- docs/api/cdc.md | 2 +- docs/api/flusurv.md | 2 +- docs/api/fluview.md | 4 ++-- docs/api/fluview_clinical.md | 2 +- docs/api/gft.md | 4 ++-- docs/api/ght.md | 2 +- docs/api/nidss_dengue.md | 4 ++-- docs/api/nidss_flu.md | 4 ++-- docs/api/nowcast.md | 4 ++-- docs/api/quidel.md | 2 +- docs/api/sensors.md | 2 +- docs/api/twitter.md | 4 ++-- docs/api/wiki.md | 4 ++-- docs/epidata_development.md | 14 +++++++------- docs/new_endpoint_tutorial.md | 6 +++--- 16 files changed, 31 insertions(+), 31 deletions(-) diff --git a/docs/api/afhsb.md b/docs/api/afhsb.md index fccdcee78..f0e29ca32 100644 --- a/docs/api/afhsb.md +++ b/docs/api/afhsb.md @@ -31,7 +31,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | --- | --- | --- | | `auth` | password | string | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of [region](../../labels/regions.txt), [state](../../labels/states.txt), or 3-letter country code labels | +| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt), [state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt), or 3-letter country code labels | | `flu_types` | flu types | `list` of disjoint (`flu1`, `flu2-flu1`, `flu3-flu2`, `ili-flu3`) or subset (`flu2`, `flu3`, `ili`) flu type labels | ## Response diff --git a/docs/api/cdc.md b/docs/api/cdc.md index b79e8927b..97a6fc478 100644 --- a/docs/api/cdc.md +++ b/docs/api/cdc.md @@ -31,7 +31,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | --- | --- | --- | | `auth` | password | string | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of [region](../../labels/regions.txt)/[state](../../labels/states.txt) labels | +| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)/[state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt) labels | ## Response diff --git a/docs/api/flusurv.md b/docs/api/flusurv.md index 865a0977e..fb990220a 100644 --- a/docs/api/flusurv.md +++ b/docs/api/flusurv.md @@ -37,7 +37,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of [location](../../labels/flusurv_locations.txt) labels | +| `locations` | locations | `list` of [location](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/flusurv_locations.txt) labels | ### Optional diff --git a/docs/api/fluview.md b/docs/api/fluview.md index 7dbdd5518..688089d25 100644 --- a/docs/api/fluview.md +++ b/docs/api/fluview.md @@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the Influenza-like illness (ILI) from U.S. Outpatient Influenza-like Illness Surveillance Network (ILINet). - Data source: [United States Centers for Disease Control and Prevention](http://gis.cdc.gov/grasp/fluview/fluportaldashboard.html) (CDC) - Temporal Resolution: Weekly* from 1997w40 - - Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html), most States and Territories, and some Cities (full list [here](../../src/acquisition/fluview/fluview_locations.py)) + - Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html), most States and Territories, and some Cities (full list [here](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/acquisition/fluview/fluview_locations.py)) - Open access \* Data is usually released on Friday @@ -36,7 +36,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `epiweeks` | epiweeks | `list` of epiweeks | -| `regions` | regions | `list` of [region](../../labels/regions.txt) labels | +| `regions` | regions | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt) labels | ### Optional diff --git a/docs/api/fluview_clinical.md b/docs/api/fluview_clinical.md index 2e6fb0aa0..5583abcc4 100644 --- a/docs/api/fluview_clinical.md +++ b/docs/api/fluview_clinical.md @@ -31,7 +31,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `epiweeks` | epiweeks | `list` of epiweeks | -| `regions` | regions | `list` of [region](../../labels/regions.txt) labels | +| `regions` | regions | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt) labels | ### Optional diff --git a/docs/api/gft.md b/docs/api/gft.md index ed43eeecb..21d9676fb 100644 --- a/docs/api/gft.md +++ b/docs/api/gft.md @@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the Estimate of influenza activity based on volume of certain search queries. Google has discontinued Flu Trends, and this is now a static endpoint. - Source: [Google](https://www.google.org/flutrends/) - Temporal Resolution: Weekly from 2003w40 until 2015w32 - - Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/) ([1+10](../../labels/regions.txt)); by state/territory ([50+1](../../labels/states.txt)); and by city ([97](../../labels/cities.txt)) + - Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/) ([1+10](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)); by state/territory ([50+1](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt)); and by city ([97](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/cities.txt)) - Open access # The API @@ -34,7 +34,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of [region](../../labels/regions.txt)/[state](../../labels/states.txt)/[city](../../labels/cities.txt) labels | +| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)/[state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt)/[city](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/cities.txt) labels | ## Response diff --git a/docs/api/ght.md b/docs/api/ght.md index 2bc6f935a..db333ef6c 100644 --- a/docs/api/ght.md +++ b/docs/api/ght.md @@ -31,7 +31,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | --- | --- | --- | | `auth` | password | string | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of [state](../../labels/states.txt) and/or `US` labels | +| `locations` | locations | `list` of [state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt) and/or `US` labels | | `query` | search query or topic ID (see https://www.freebase.com/) | string | ## Response diff --git a/docs/api/nidss_dengue.md b/docs/api/nidss_dengue.md index a051cef83..330963ad6 100644 --- a/docs/api/nidss_dengue.md +++ b/docs/api/nidss_dengue.md @@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the Counts of confirmed dengue cases from Taiwan's NIDSS. - Data source: [Taiwan CDC](http://nidss.cdc.gov.tw/en/SingleDisease.aspx?dc=1&dt=4&disease=061&position=1) - Temporal Resolution: Weekly from 2003w01 - - Spatial Resolution: By [hexchotomy region](https://en.wikipedia.org/wiki/Regions_of_Taiwan#Hexchotomy) ([6+1](../../labels/nidss_regions.txt)) and by [city/county](https://en.wikipedia.org/wiki/List_of_administrative_divisions_of_Taiwan) ([22](../../labels/nidss_locations.txt)) + - Spatial Resolution: By [hexchotomy region](https://en.wikipedia.org/wiki/Regions_of_Taiwan#Hexchotomy) ([6+1](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/nidss_regions.txt)) and by [city/county](https://en.wikipedia.org/wiki/List_of_administrative_divisions_of_Taiwan) ([22](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/nidss_locations.txt)) - Open access # The API @@ -34,7 +34,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of [region](../../labels/nidss_regions.txt) and/or [location](../../labels/nidss_locations.txt) labels | +| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/nidss_regions.txt) and/or [location](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/nidss_locations.txt) labels | ## Response diff --git a/docs/api/nidss_flu.md b/docs/api/nidss_flu.md index 7d08bf0b7..8231aa0d7 100644 --- a/docs/api/nidss_flu.md +++ b/docs/api/nidss_flu.md @@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the Outpatient ILI from Taiwan's National Infectious Disease Statistics System (NIDSS). - Source: [Taiwan CDC](http://nidss.cdc.gov.tw/en/CDCWNH01.aspx?dc=wnh) - Temporal Resolution: Weekly* from 2008w14 - - Spatial Resolution: By [hexchotomy region](https://en.wikipedia.org/wiki/Regions_of_Taiwan#Hexchotomy) ([6+1](../../labels/nidss_regions.txt)) + - Spatial Resolution: By [hexchotomy region](https://en.wikipedia.org/wiki/Regions_of_Taiwan#Hexchotomy) ([6+1](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/nidss_regions.txt)) - Open access \* Data is usually released on Tuesday @@ -36,7 +36,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `epiweeks` | epiweeks | `list` of epiweeks | -| `regions` | regions | `list` of [region](../../labels/nidss_regions.txt) labels | +| `regions` | regions | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/nidss_regions.txt) labels | ### Optional diff --git a/docs/api/nowcast.md b/docs/api/nowcast.md index f724f7a97..51f33835c 100644 --- a/docs/api/nowcast.md +++ b/docs/api/nowcast.md @@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the A nowcast of U.S. national, regional, and state-level (weighted) %ILI, available seven days (regionally) or five days (state-level) before the first ILINet report for the corresponding week. - Source: [Delphi's ILI Nearby system](https://delphi.cmu.edu/nowcast/) - Temporal Resolution: Weekly, from 2010w30* - - Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html) ([1+10+9](../../labels/regions.txt)), and by state/territory ([51](../../labels/states.txt)) + - Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html) ([1+10+9](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)), and by state/territory ([51](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt)) - Open access \* Data is usually released on Friday and updated on Sunday and Monday @@ -36,7 +36,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of [region](../../labels/regions.txt)/[state](../../labels/states.txt) labels | +| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)/[state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt) labels | ## Response diff --git a/docs/api/quidel.md b/docs/api/quidel.md index 2e269810f..3f5c39115 100644 --- a/docs/api/quidel.md +++ b/docs/api/quidel.md @@ -33,7 +33,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | --- | --- | --- | | `auth` | password | string | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of `hhs<#>` [region](../../labels/regions.txt) labels | +| `locations` | locations | `list` of `hhs<#>` [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt) labels | ## Response diff --git a/docs/api/sensors.md b/docs/api/sensors.md index 03967faef..a00669d13 100644 --- a/docs/api/sensors.md +++ b/docs/api/sensors.md @@ -40,7 +40,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `epiweeks` | epiweeks | `list` of epiweeks | -| `locations` | locations | `list` of [region](../../labels/regions.txt)/[state](../../labels/states.txt) labels | +| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)/[state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt) labels | | `names` | sensor names | `list` of string | Notes: diff --git a/docs/api/twitter.md b/docs/api/twitter.md index 2bdb415a8..10564dcf9 100644 --- a/docs/api/twitter.md +++ b/docs/api/twitter.md @@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the Estimate of influenza activity based on analysis of language used in tweets. - Source: [HealthTweets](http://www.healthtweets.org/) - Temporal Resolution: Daily and weekly from 2011-12-01 (2011w48) - - Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), and [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html) ([1+10+9](../../labels/regions.txt)); and by state/territory ([51](../../labels/states.txt)) + - Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), and [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html) ([1+10+9](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)); and by state/territory ([51](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt)) - Restricted access: Delphi doesn't have permission to share this dataset # The API @@ -34,7 +34,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | | `auth` | password | string | -| `locations` | locations | `list` of [region](../../labels/regions.txt)/[state](../../labels/states.txt) labels | +| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)/[state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt) labels | | `dates` | dates | `list` of dates | | `epiweeks` | epiweeks | `list` of epiweeks | diff --git a/docs/api/wiki.md b/docs/api/wiki.md index 5fd56116a..81bc105e2 100644 --- a/docs/api/wiki.md +++ b/docs/api/wiki.md @@ -19,7 +19,7 @@ Number of page visits for selected English, Influenza-related wikipedia articles - Source: [Wikimedia](https://dumps.wikimedia.org/other/pagecounts-raw/) - Temporal Resolution: Hourly, daily, and weekly from 2007-12-09 (2007w50) - Spatial Resolution: N/A - - Other resolution: By article ([54](../../labels/articles.txt)) + - Other resolution: By article ([54](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/articles.txt)) - Open access # The API @@ -34,7 +34,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a | Parameter | Description | Type | | --- | --- | --- | -| `articles` | articles | list of [articles](../../labels/articles.md) | +| `articles` | articles | list of [articles](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/articles.md) | | `language` | language (currently `en`, `es`, and `pt` supported) | string | | `dates` | dates | `list` of dates | | `epiweeks` | epiweeks | `list` of epiweeks | diff --git a/docs/epidata_development.md b/docs/epidata_development.md index 87602f8f0..a0cd0acbb 100644 --- a/docs/epidata_development.md +++ b/docs/epidata_development.md @@ -69,10 +69,10 @@ These are both based on core Delphi images as defined in the above. The base images are built first, followed by the derived `epidata`-specific images. -- The [`delphi_web_epidata` image](../dev/docker/web/epidata/README.md) adds +- The [`delphi_web_epidata` image](https://github.com/cmu-delphi/delphi-epidata/blob/main/dev/docker/web/epidata/README.md) adds the Epidata API to the `delphi_web` image. - The - [`delphi_database_epidata` image](../dev/docker/database/epidata/README.md) + [`delphi_database_epidata` image](https://github.com/cmu-delphi/delphi-epidata/blob/main/dev/docker/database/epidata/README.md) adds the `epi` user account, `epidata` database, and relevant tables (initially empty) to the `delphi_database` image. @@ -246,8 +246,8 @@ Here's a full example based on the `fluview` endpoint: Writing an integration test is outside of the scope of this document. However, a number of existing integration tests exist and can be used as a good starting point for additional tests. For example, see the tests for the -[`fluview` API endpoint](../integrations/server/test_fluview.py) and the -[`covidcast` ingestion pipeline](../integrations/acquisition/covidcast). +[`fluview` API endpoint](https://github.com/cmu-delphi/delphi-epidata/blob/main/integrations/server/test_fluview.py) and the +[`covidcast` ingestion pipeline](https://github.com/cmu-delphi/delphi-epidata/blob/main/integrations/acquisition/covidcast). To run the existing tests and any new tests that you write, you must follow the @@ -365,15 +365,15 @@ The command above mounts two specific files into the image. It may be tempting to bind mount the `src/server` directory rather than specific files, however that is currently problematic for a couple of reasons: -1. `server/.htaccess` [from the local repository](../src/server/.htaccess) uses +1. `server/.htaccess` [from the local repository](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/server/.htaccess) uses the `Header` directive. However, the webserver in the container doesn't have the corresponding module enabled. This causes the server to deny access to the API. 2. `server/database_config.php` - [in the image](../dev/docker/web/epidata/assets/database_config.php) contains + [in the image](https://github.com/cmu-delphi/delphi-epidata/blob/main/dev//docker/web/epidata/assets/database_config.php) contains database credentials for use in conjunction with the `delphi_database_epidata` container during development. However, the same - file from [the local repository](../src/server/database_config.php) only + file from [the local repository](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/server/database_config.php) only contains placeholder values. This prevents communication with the database. There is currently no benefit to bind-mounting sources into the database diff --git a/docs/new_endpoint_tutorial.md b/docs/new_endpoint_tutorial.md index a32530d3f..87a1a3b11 100644 --- a/docs/new_endpoint_tutorial.md +++ b/docs/new_endpoint_tutorial.md @@ -55,7 +55,7 @@ is to extract the subset of metadata pertaining to `fluview` and return just tha data through a new endpoint. Each row in the `fluview` table contains -[a lot of data](../src/ddl/fluview.sql), but we're particularly interested in +[a lot of data](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/ddl/fluview.sql), but we're particularly interested in the following: - latest publication date @@ -98,7 +98,7 @@ Here's what we add to each client: }; ``` -- [`delphi_epidata.d.ts`](../src/client/delphi_epidata.d.ts) +- [`delphi_epidata.d.ts`](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.d.ts) ```typescript export interface EpidataFunctions { // ... @@ -164,7 +164,7 @@ needs to be an integration test. See more about integration testing in Delphi's Create an integration test for the new endpoint by creating a new file, `integrations/server/test_fluview_meta.py`. There's a good amount of boilerplate, but fortunately, this can be copied _almost_ verbatim from the -[`fluview` endpoint integration test](../integrations/server/test_fluview.py). +[`fluview` endpoint integration test](https://github.com/cmu-delphi/delphi-epidata/blob/main/integrations/server/test_fluview.py). Include the following pieces: From 6fbb60b18f77dc6b42ae1ba65db36825ddcbd30c Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Wed, 30 Jun 2021 21:31:25 +0200 Subject: [PATCH 03/10] Update docs/epidata_development.md Co-authored-by: Katie Mazaitis --- docs/epidata_development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/epidata_development.md b/docs/epidata_development.md index a0cd0acbb..5264d0b7b 100644 --- a/docs/epidata_development.md +++ b/docs/epidata_development.md @@ -370,7 +370,7 @@ that is currently problematic for a couple of reasons: the corresponding module enabled. This causes the server to deny access to the API. 2. `server/database_config.php` - [in the image](https://github.com/cmu-delphi/delphi-epidata/blob/main/dev//docker/web/epidata/assets/database_config.php) contains + [in the image](https://github.com/cmu-delphi/delphi-epidata/blob/main/dev/docker/web/epidata/assets/database_config.php) contains database credentials for use in conjunction with the `delphi_database_epidata` container during development. However, the same file from [the local repository](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/server/database_config.php) only From 90224c03ad0f42f523da09f116f7060cd37dac13 Mon Sep 17 00:00:00 2001 From: Nat DeFries <42820733+nmdefries@users.noreply.github.com> Date: Thu, 1 Jul 2021 17:11:07 -0400 Subject: [PATCH 04/10] change survey name from Symptom Survey to CTIS --- docs/api/covidcast-signals/fb-survey.md | 13 +++++++------ docs/symptom-survey/coding.md | 6 +++--- docs/symptom-survey/collaboration-revision.md | 12 ++++++------ docs/symptom-survey/contingency-tables.md | 5 +++-- docs/symptom-survey/data-access.md | 16 ++++++++-------- docs/symptom-survey/index.md | 8 ++++---- docs/symptom-survey/modules.md | 12 ++++++------ docs/symptom-survey/problems.md | 8 ++++---- docs/symptom-survey/server-access.md | 11 ++++++----- docs/symptom-survey/survey-files.md | 11 ++++++----- docs/symptom-survey/weights.md | 9 +++++---- 11 files changed, 58 insertions(+), 53 deletions(-) diff --git a/docs/api/covidcast-signals/fb-survey.md b/docs/api/covidcast-signals/fb-survey.md index 7c6323321..3c5e0ca8d 100644 --- a/docs/api/covidcast-signals/fb-survey.md +++ b/docs/api/covidcast-signals/fb-survey.md @@ -1,10 +1,10 @@ --- -title: Symptom Surveys +title: COVID Trends and Impact Survey parent: Data Sources and Signals grand_parent: COVIDcast Epidata API --- -# Symptom Surveys +# COVID Trends and Impact Survey {: .no_toc} * **Source name:** `fb-survey` @@ -17,9 +17,10 @@ grand_parent: COVIDcast Epidata API ## Overview -This data source is based on symptom surveys run by the Delphi group at Carnegie -Mellon. Facebook directs a random sample of its users to these surveys, which -are voluntary. Users age 18 or older are eligible to complete the surveys, and +This data source is based on the [COVID Trends and Impact Survey +(CTIS)](../../symptom-survey/) run by the Delphi group at Carnegie Mellon. +Facebook directs a random sample of its users to these surveys, which are +voluntary. Users age 18 or older are eligible to complete the surveys, and their survey responses are held by CMU and are sharable with other health researchers under a data use agreement. No individual survey responses are shared back to Facebook. See our [surveys @@ -575,7 +576,7 @@ $$ where $$\pi_i$$ is an estimated probability (produced by Facebook) that an individual with the same state-by-age-gender profile as user $$i$$ would be a -Facebook user and take our CMU survey. The adjustment we make follows a standard +Facebook user and take our survey. The adjustment we make follows a standard inverse probability weighting strategy (this being a special case of importance sampling). diff --git a/docs/symptom-survey/coding.md b/docs/symptom-survey/coding.md index 278c6d931..69959de73 100644 --- a/docs/symptom-survey/coding.md +++ b/docs/symptom-survey/coding.md @@ -1,14 +1,14 @@ --- title: Questions and Coding -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey nav_order: 6 --- # Questions and Coding {: .no_toc} -The symptom surveys have been deployed in several waves. We have tried to ensure -the coding of waves is consistent. This page provides the full survey text and +The surveys have been deployed in several waves. We have tried to ensure the +coding of waves is consistent. This page provides the full survey text and coding schemes. diff --git a/docs/symptom-survey/collaboration-revision.md b/docs/symptom-survey/collaboration-revision.md index 48aa1616f..d37366dfb 100644 --- a/docs/symptom-survey/collaboration-revision.md +++ b/docs/symptom-survey/collaboration-revision.md @@ -1,16 +1,16 @@ --- title: Collaboration and Survey Revision -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey nav_order: 1 --- # Collaboration and Survey Revision -Delphi continues to revise the COVID-19 Symptom Survey instruments in order to -prioritize items that have the greatest utility for the response to the COVID-19 -pandemic. We conduct revisions in collaboration with data users, fellow -researchers, and public health officials, to ensure the survey data best serves -public health and research goals. +Delphi continues to revise the COVID Trends and Impact Survey (CTIS) +instruments in order to prioritize items that have the greatest utility for +the response to the COVID-19 pandemic. We conduct revisions in collaboration +with data users, fellow researchers, and public health officials, to ensure +the survey data best serves public health and research goals. ## Proposing Revisions diff --git a/docs/symptom-survey/contingency-tables.md b/docs/symptom-survey/contingency-tables.md index 7604506c6..ce5a87369 100644 --- a/docs/symptom-survey/contingency-tables.md +++ b/docs/symptom-survey/contingency-tables.md @@ -1,6 +1,6 @@ --- title: Contingency Tables -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey nav_order: 4 --- @@ -8,7 +8,7 @@ nav_order: 4 {: .no_toc} This documentation describes the fine-resolution contingency tables produced by -grouping [COVID Symptom Survey](./index.md) individual responses by various +grouping [COVID Trends and Impact Survey (CTIS)](./index.md) individual responses by various self-reported demographic features. * [Weekly files](https://www.cmu.edu/delphi-web/surveys/weekly-rollup/) @@ -119,6 +119,7 @@ Within a CSV, the first few columns store metadata of the aggregation: | `ISO_3` | Three-letter ISO country code ("USA") | | `GID_0` | GADM level 0 ID | | `state` | State name; "Overall" if aggregation not grouped at the state level | +| `GID_1` | GADM level 1 ID | | `state_fips` | State FIPS code; `NA` if aggregation not grouped at the state level | | `county` | County name; "Overall" if aggregation not grouped at the county level | | `county_fips` | County FIPS code; `NA` if aggregation not grouped at the county level | diff --git a/docs/symptom-survey/data-access.md b/docs/symptom-survey/data-access.md index dd7cfacf2..bc496cbbc 100644 --- a/docs/symptom-survey/data-access.md +++ b/docs/symptom-survey/data-access.md @@ -1,16 +1,16 @@ --- title: Getting Data Access -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey nav_order: 0 --- # Getting Data Access The Delphi Research Group at Carnegie Mellon University (CMU), in partnership -with Facebook, has conducted the COVID Symptom Survey to better understand the -spread of COVID-19 and its effects on public health and well-being. This may -help improve our local and national responses to the pandemic and our -understanding of how it has affected society. +with Facebook, has conducted the COVID Trends and Impact Survey (CTIS) to +better understand the spread of COVID-19 and its effects on public health and +well-being. This may help improve our local and national responses to the +pandemic and our understanding of how it has affected society. [High-level aggregates](../api/covidcast.md) of select survey items are publicly available in the [COVIDcast API](../api/covidcast-signals/fb-survey.md). @@ -25,9 +25,9 @@ Agreement (DUA). To request access to the data please submit the information requested in [Facebook's page on obtaining data access](https://dataforgood.fb.com/docs/covid-19-symptom-survey-request-for-data-access/), which sets out the basic conditions and provides a form to request access. An -[international version of the COVID Symptom Survey](https://covidmap.umd.edu/) -is conducted by the University of Maryland (UMD) and access can be requested -through the same form. +[international version of CTIS](https://covidmap.umd.edu/) is conducted by the +University of Maryland (UMD) and access can be requested through the same +form. The United States survey protocol has been reviewed by the Carnegie Mellon University Institutional Review Board with IRB ID STUDY2020_00000162. diff --git a/docs/symptom-survey/index.md b/docs/symptom-survey/index.md index f8591c4c0..645261fa0 100644 --- a/docs/symptom-survey/index.md +++ b/docs/symptom-survey/index.md @@ -1,10 +1,10 @@ --- -title: COVID Symptom Survey +title: COVID Trends and Impact Survey has_children: true nav_order: 2 --- -# COVID Symptom Survey +# COVID Trends and Impact Survey Since April 2020, Delphi has conducted a voluntary COVID-19 symptom survey, distributed daily to users in the United States via a partnership with Facebook. @@ -29,7 +29,7 @@ If you have questions about the survey or getting access to data, contact us at ## Credits -The COVID Symptom Survey is a project of the [Delphi +The COVID Trends and Impact Survey (CTIS) is a project of the [Delphi Group](https://delphi.cmu.edu/) at Carnegie Mellon University. The Principal Investigator is [Alex Reinhart](https://www.refsmmat.com/); Wichada La Motte-Kerr is Survey Coordinator. The survey protocol is reviewed by the @@ -59,7 +59,7 @@ the survey in publications based on the data. Specifically, we ask that you: 2. Cite this web page for details about the survey. For example, you may cite it as - > Delphi Group (2021). COVID Symptom Survey. + > Delphi Group (2021). COVID Trends and Impact Survey. > A journal article describing the survey and its methods is currently in diff --git a/docs/symptom-survey/modules.md b/docs/symptom-survey/modules.md index d362ae288..cf58373bb 100644 --- a/docs/symptom-survey/modules.md +++ b/docs/symptom-survey/modules.md @@ -1,17 +1,17 @@ --- title: Survey Modules & Randomization -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey nav_order: 7 --- # Questions and Coding {: .no_toc} -To reduce the overall length of the instrument and minimize response burden, the -COVID Symptom Survey will consist of a block of daily core questions and will -use a randomized module approach for the other topics. Implementation of this -approach started in [Wave 11](coding.md#wave-11), which launched on May 20, -2021. +To reduce the overall length of the instrument and minimize response burden, +the COVID Trends and Impact Survey (CTIS) will consist of a block of daily +core questions and will use a randomized module approach for the other topics. +Implementation of this approach started in [Wave 11](coding.md#wave-11), which +launched on May 20, 2021. Each respondent invited to take the survey will be asked the daily core questions. The daily core questions for Wave 11 include: diff --git a/docs/symptom-survey/problems.md b/docs/symptom-survey/problems.md index 44f3e73dd..18f811622 100644 --- a/docs/symptom-survey/problems.md +++ b/docs/symptom-survey/problems.md @@ -1,15 +1,15 @@ --- title: Problems and Data Errors -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey nav_order: 8 --- # Problems and Data Errors {: .no_toc} -Given the scale of the COVID Symptom Survey, we occasionally encounter data -errors or survey implementation problems that affect the interpretation of -results. All problems will be logged here. +Given the scale of the COVID Trends and Impact Survey (CTIS), we occasionally +encounter data errors or survey implementation problems that affect the +interpretation of results. All problems will be logged here. ## Table of contents {: .no_toc .text-delta} diff --git a/docs/symptom-survey/server-access.md b/docs/symptom-survey/server-access.md index 720c27ca8..463e63a35 100644 --- a/docs/symptom-survey/server-access.md +++ b/docs/symptom-survey/server-access.md @@ -1,15 +1,16 @@ --- title: SFTP Server Access -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey nav_order: 2 --- # SFTP Server Access -Researchers with data use agreements to access the raw data from the COVID-19 -symptom survey can access the data over SFTP. (If you do not have a data use -agreement, see the [main survey page](index.md) for information about getting -access and about aggregate data that is available for public download.) +Researchers with data use agreements to access the raw data from the COVID +Trends and Impact Survey (CTIS) can access the data over SFTP. (If you do not +have a data use agreement, see the [main survey page](index.md) for +information about getting access and about aggregate data that is available +for public download.) If you're not familiar with SFTP, it is a protocol for securely accessing and downloading large amounts of data from remote servers. The instructions below explain how to diff --git a/docs/symptom-survey/survey-files.md b/docs/symptom-survey/survey-files.md index 48ca31190..22e1944f5 100644 --- a/docs/symptom-survey/survey-files.md +++ b/docs/symptom-survey/survey-files.md @@ -1,16 +1,17 @@ --- title: Response Files -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey (CTIS) nav_order: 3 --- # Response Files {: .no_toc} -Users with access to the [COVID Symptom Survey](./index.md) individual response -data should have received SFTP credentials for a private server where the data -are stored. To connect to the server, see the [server access documentation](server-access.md). -This documentation describes the survey data available on that server. +Users with access to the [COVID Trends and Impact Survey (CTIS)](./index.md) +individual response data should have received SFTP credentials for a private +server where the data are stored. To connect to the server, see the [server +access documentation](server-access.md). This documentation describes the +survey data available on that server. You must sign a Data Use Agreement with Facebook and with CMU to gain access to the individual survey responses. If you have not done so, aggregate diff --git a/docs/symptom-survey/weights.md b/docs/symptom-survey/weights.md index fc8bca191..c54b4bba9 100644 --- a/docs/symptom-survey/weights.md +++ b/docs/symptom-survey/weights.md @@ -1,15 +1,16 @@ --- title: Survey Weights -parent: COVID Symptom Survey +parent: COVID Trends and Impact Survey nav_order: 5 --- # Survey Weights {: .no_toc} -The symptom survey individual response files contain survey weights calculated -by Facebook. These weights are also used to produce our [public contingency tables](contingency-tables.md) -and the geographic aggregates [in the COVIDcast Epidata API](../api/covidcast-signals/fb-survey.md). +The survey's individual response files contain respondent weights calculated +by Facebook. These weights are also used to produce our [public contingency +tables](contingency-tables.md) and the geographic aggregates [in the COVIDcast +Epidata API](../api/covidcast-signals/fb-survey.md). Facebook has provided documentation to describe the calculation and usage of these weights, [available here](symptom-survey-weights.pdf). This documentation From 9162ee60b8e9d00b066026d90eb2602604122785 Mon Sep 17 00:00:00 2001 From: Alex Reinhart Date: Tue, 6 Jul 2021 10:49:44 -0500 Subject: [PATCH 05/10] Fix missing name change --- docs/symptom-survey/collaboration-revision.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/symptom-survey/collaboration-revision.md b/docs/symptom-survey/collaboration-revision.md index d37366dfb..73d5c145d 100644 --- a/docs/symptom-survey/collaboration-revision.md +++ b/docs/symptom-survey/collaboration-revision.md @@ -18,7 +18,7 @@ If there is a revision or question you would like us to consider, please fill out [this form requesting details about your proposal](https://forms.gle/q6NS8fPJJofKQ9mM8). This request can be submitted by researchers regardless of whether they have a signed Data Use Agreement for the -individual responses to the COVID Symptom Survey. +individual responses to the COVID Trends and Impact Survey. ## Collaboration Meetings From 12b13c4082877cfe26ab2b1c5ee69d50eaec7e6f Mon Sep 17 00:00:00 2001 From: Alex Reinhart Date: Tue, 6 Jul 2021 10:49:53 -0500 Subject: [PATCH 06/10] Add naming guide and mention old name --- docs/symptom-survey/index.md | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/docs/symptom-survey/index.md b/docs/symptom-survey/index.md index 645261fa0..1ea453c7b 100644 --- a/docs/symptom-survey/index.md +++ b/docs/symptom-survey/index.md @@ -65,12 +65,24 @@ the survey in publications based on the data. Specifically, we ask that you: A journal article describing the survey and its methods is currently in preparation, and we will update this page when it is available so that you can cite it instead. -3. Send a copy of your publication, once it appears publicly as a preprint or - journal article, to . - -Additionally, please note that the data use agreement requires that if you -disclose survey microdata, Delphi must agree on the aggregation method that you -will use to ensure reported estimates do not disclose any individual -identifiable information, including individual survey results. If you are unsure -whether a particular aggregation will prevent disclosure of individual survey -results, please email us at . +3. The data use agreement requires that if you disclose survey microdata, Delphi + must agree on the aggregation method that you will use to ensure reported + estimates do not disclose any individual identifiable information, including + individual survey results. If you are unsure whether a particular aggregation + will prevent disclosure of individual survey results, please email us at + . +4. Finally, send a copy of your publication, once it appears publicly as a + preprint or journal article, to . + +When referring to the survey in text, we prefer the following formats: + +* Long form (such as in an introduction or methods description): "The Delphi + Group at Carnegie Mellon University U.S. COVID-19 Trends and Impact Survey, in + partnership with Facebook". +* Short form (used after the long form has been introduced): "The U.S. COVID-19 + Trends and Impact Survey" +* Acronym form: Delphi US CTIS + +Prior to July 2021, the survey was known as the COVID Symptom Survey (CSS), and +some older documentation and publication may still refer to this name. We prefer +that new publications and materials refer to the new name. From fcd61e50d7047d0c8e43841d5c9c70173402420a Mon Sep 17 00:00:00 2001 From: Alex Reinhart Date: Tue, 6 Jul 2021 10:52:48 -0500 Subject: [PATCH 07/10] Quotation marks --- docs/symptom-survey/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/symptom-survey/index.md b/docs/symptom-survey/index.md index 1ea453c7b..c5e6ecc60 100644 --- a/docs/symptom-survey/index.md +++ b/docs/symptom-survey/index.md @@ -81,7 +81,7 @@ When referring to the survey in text, we prefer the following formats: partnership with Facebook". * Short form (used after the long form has been introduced): "The U.S. COVID-19 Trends and Impact Survey" -* Acronym form: Delphi US CTIS +* Acronym form: "Delphi US CTIS" Prior to July 2021, the survey was known as the COVID Symptom Survey (CSS), and some older documentation and publication may still refer to this name. We prefer From c28087592249cdfb2bc4383dbb17a0b16af0f55a Mon Sep 17 00:00:00 2001 From: Alex Reinhart Date: Tue, 6 Jul 2021 16:04:52 -0500 Subject: [PATCH 08/10] Make it COVID-19 Trends, not COVID Trends --- docs/api/covidcast-signals/fb-survey.md | 6 +- docs/symptom-survey/coding.md | 2 +- docs/symptom-survey/collaboration-revision.md | 14 +-- docs/symptom-survey/contingency-tables.md | 4 +- docs/symptom-survey/data-access.md | 4 +- docs/symptom-survey/index.md | 8 +- docs/symptom-survey/modules.md | 4 +- docs/symptom-survey/problems.md | 4 +- docs/symptom-survey/server-access.md | 4 +- docs/symptom-survey/survey-files.md | 4 +- docs/symptom-survey/survey-utils.R | 112 +++++++++++------- docs/symptom-survey/weights.md | 2 +- 12 files changed, 97 insertions(+), 71 deletions(-) diff --git a/docs/api/covidcast-signals/fb-survey.md b/docs/api/covidcast-signals/fb-survey.md index 3c5e0ca8d..28b0ec55f 100644 --- a/docs/api/covidcast-signals/fb-survey.md +++ b/docs/api/covidcast-signals/fb-survey.md @@ -1,10 +1,10 @@ --- -title: COVID Trends and Impact Survey +title: COVID-19 Trends and Impact Survey parent: Data Sources and Signals grand_parent: COVIDcast Epidata API --- -# COVID Trends and Impact Survey +# COVID-19 Trends and Impact Survey {: .no_toc} * **Source name:** `fb-survey` @@ -17,7 +17,7 @@ grand_parent: COVIDcast Epidata API ## Overview -This data source is based on the [COVID Trends and Impact Survey +This data source is based on the [COVID-19 Trends and Impact Survey (CTIS)](../../symptom-survey/) run by the Delphi group at Carnegie Mellon. Facebook directs a random sample of its users to these surveys, which are voluntary. Users age 18 or older are eligible to complete the surveys, and diff --git a/docs/symptom-survey/coding.md b/docs/symptom-survey/coding.md index 69959de73..72a4f80ae 100644 --- a/docs/symptom-survey/coding.md +++ b/docs/symptom-survey/coding.md @@ -1,6 +1,6 @@ --- title: Questions and Coding -parent: COVID Trends and Impact Survey +parent: COVID-19 Trends and Impact Survey nav_order: 6 --- diff --git a/docs/symptom-survey/collaboration-revision.md b/docs/symptom-survey/collaboration-revision.md index 73d5c145d..e344f5ba9 100644 --- a/docs/symptom-survey/collaboration-revision.md +++ b/docs/symptom-survey/collaboration-revision.md @@ -1,16 +1,16 @@ --- title: Collaboration and Survey Revision -parent: COVID Trends and Impact Survey +parent: COVID-19 Trends and Impact Survey nav_order: 1 --- # Collaboration and Survey Revision -Delphi continues to revise the COVID Trends and Impact Survey (CTIS) -instruments in order to prioritize items that have the greatest utility for -the response to the COVID-19 pandemic. We conduct revisions in collaboration -with data users, fellow researchers, and public health officials, to ensure -the survey data best serves public health and research goals. +Delphi continues to revise the COVID-19 Trends and Impact Survey (CTIS) +instruments in order to prioritize items that have the greatest utility for the +response to the COVID-19 pandemic. We conduct revisions in collaboration with +data users, fellow researchers, and public health officials, to ensure the +survey data best serves public health and research goals. ## Proposing Revisions @@ -18,7 +18,7 @@ If there is a revision or question you would like us to consider, please fill out [this form requesting details about your proposal](https://forms.gle/q6NS8fPJJofKQ9mM8). This request can be submitted by researchers regardless of whether they have a signed Data Use Agreement for the -individual responses to the COVID Trends and Impact Survey. +individual responses to the COVID-19 Trends and Impact Survey. ## Collaboration Meetings diff --git a/docs/symptom-survey/contingency-tables.md b/docs/symptom-survey/contingency-tables.md index ce5a87369..b2b741ce6 100644 --- a/docs/symptom-survey/contingency-tables.md +++ b/docs/symptom-survey/contingency-tables.md @@ -1,6 +1,6 @@ --- title: Contingency Tables -parent: COVID Trends and Impact Survey +parent: COVID-19 Trends and Impact Survey nav_order: 4 --- @@ -8,7 +8,7 @@ nav_order: 4 {: .no_toc} This documentation describes the fine-resolution contingency tables produced by -grouping [COVID Trends and Impact Survey (CTIS)](./index.md) individual responses by various +grouping [COVID-19 Trends and Impact Survey (CTIS)](./index.md) individual responses by various self-reported demographic features. * [Weekly files](https://www.cmu.edu/delphi-web/surveys/weekly-rollup/) diff --git a/docs/symptom-survey/data-access.md b/docs/symptom-survey/data-access.md index bc496cbbc..a0fa103e4 100644 --- a/docs/symptom-survey/data-access.md +++ b/docs/symptom-survey/data-access.md @@ -1,13 +1,13 @@ --- title: Getting Data Access -parent: COVID Trends and Impact Survey +parent: COVID-19 Trends and Impact Survey nav_order: 0 --- # Getting Data Access The Delphi Research Group at Carnegie Mellon University (CMU), in partnership -with Facebook, has conducted the COVID Trends and Impact Survey (CTIS) to +with Facebook, has conducted the COVID-19 Trends and Impact Survey (CTIS) to better understand the spread of COVID-19 and its effects on public health and well-being. This may help improve our local and national responses to the pandemic and our understanding of how it has affected society. diff --git a/docs/symptom-survey/index.md b/docs/symptom-survey/index.md index c5e6ecc60..41de2d92f 100644 --- a/docs/symptom-survey/index.md +++ b/docs/symptom-survey/index.md @@ -1,10 +1,10 @@ --- -title: COVID Trends and Impact Survey +title: COVID-19 Trends and Impact Survey has_children: true nav_order: 2 --- -# COVID Trends and Impact Survey +# COVID-19 Trends and Impact Survey Since April 2020, Delphi has conducted a voluntary COVID-19 symptom survey, distributed daily to users in the United States via a partnership with Facebook. @@ -29,7 +29,7 @@ If you have questions about the survey or getting access to data, contact us at ## Credits -The COVID Trends and Impact Survey (CTIS) is a project of the [Delphi +The COVID-19 Trends and Impact Survey (CTIS) is a project of the [Delphi Group](https://delphi.cmu.edu/) at Carnegie Mellon University. The Principal Investigator is [Alex Reinhart](https://www.refsmmat.com/); Wichada La Motte-Kerr is Survey Coordinator. The survey protocol is reviewed by the @@ -59,7 +59,7 @@ the survey in publications based on the data. Specifically, we ask that you: 2. Cite this web page for details about the survey. For example, you may cite it as - > Delphi Group (2021). COVID Trends and Impact Survey. + > Delphi Group (2021). COVID-19 Trends and Impact Survey. > A journal article describing the survey and its methods is currently in diff --git a/docs/symptom-survey/modules.md b/docs/symptom-survey/modules.md index cf58373bb..b80118f30 100644 --- a/docs/symptom-survey/modules.md +++ b/docs/symptom-survey/modules.md @@ -1,6 +1,6 @@ --- title: Survey Modules & Randomization -parent: COVID Trends and Impact Survey +parent: COVID-19 Trends and Impact Survey nav_order: 7 --- @@ -8,7 +8,7 @@ nav_order: 7 {: .no_toc} To reduce the overall length of the instrument and minimize response burden, -the COVID Trends and Impact Survey (CTIS) will consist of a block of daily +the COVID-19 Trends and Impact Survey (CTIS) will consist of a block of daily core questions and will use a randomized module approach for the other topics. Implementation of this approach started in [Wave 11](coding.md#wave-11), which launched on May 20, 2021. diff --git a/docs/symptom-survey/problems.md b/docs/symptom-survey/problems.md index 18f811622..9313bd300 100644 --- a/docs/symptom-survey/problems.md +++ b/docs/symptom-survey/problems.md @@ -1,13 +1,13 @@ --- title: Problems and Data Errors -parent: COVID Trends and Impact Survey +parent: COVID-19 Trends and Impact Survey nav_order: 8 --- # Problems and Data Errors {: .no_toc} -Given the scale of the COVID Trends and Impact Survey (CTIS), we occasionally +Given the scale of the COVID-19 Trends and Impact Survey (CTIS), we occasionally encounter data errors or survey implementation problems that affect the interpretation of results. All problems will be logged here. diff --git a/docs/symptom-survey/server-access.md b/docs/symptom-survey/server-access.md index 463e63a35..5795f0db7 100644 --- a/docs/symptom-survey/server-access.md +++ b/docs/symptom-survey/server-access.md @@ -1,12 +1,12 @@ --- title: SFTP Server Access -parent: COVID Trends and Impact Survey +parent: COVID-19 Trends and Impact Survey nav_order: 2 --- # SFTP Server Access -Researchers with data use agreements to access the raw data from the COVID +Researchers with data use agreements to access the raw data from the COVID-19 Trends and Impact Survey (CTIS) can access the data over SFTP. (If you do not have a data use agreement, see the [main survey page](index.md) for information about getting access and about aggregate data that is available diff --git a/docs/symptom-survey/survey-files.md b/docs/symptom-survey/survey-files.md index 22e1944f5..a38425a3a 100644 --- a/docs/symptom-survey/survey-files.md +++ b/docs/symptom-survey/survey-files.md @@ -1,13 +1,13 @@ --- title: Response Files -parent: COVID Trends and Impact Survey (CTIS) +parent: COVID-19 Trends and Impact Survey (CTIS) nav_order: 3 --- # Response Files {: .no_toc} -Users with access to the [COVID Trends and Impact Survey (CTIS)](./index.md) +Users with access to the [COVID-19 Trends and Impact Survey (CTIS)](./index.md) individual response data should have received SFTP credentials for a private server where the data are stored. To connect to the server, see the [server access documentation](server-access.md). This documentation describes the diff --git a/docs/symptom-survey/survey-utils.R b/docs/symptom-survey/survey-utils.R index 0c1987220..b30c0ed3f 100644 --- a/docs/symptom-survey/survey-utils.R +++ b/docs/symptom-survey/survey-utils.R @@ -12,7 +12,7 @@ library(dplyr) #' This function extracts the date from each file, determines which files #' contain reissued data, and produces a single data frame representing the most #' recent data available for each day. It can read gzip-compressed CSV files, -#' such as those on the SFTP site, using `readr::read_csv`. +#' such as those on the SFTP site, using `readr::read_csv()`. #' #' This function handles column types correctly for surveys up to Wave 4. #' @@ -38,57 +38,83 @@ get_survey_df <- function(directory, pattern = "*.csv.gz$") { big_df <- map_dfr( latest_files, function(f) { - # stop readr from thinking commas = thousand separators, - # and from inferring column types incorrectly - read_csv(file.path(directory, f), locale = locale(grouping_mark = ""), + # stop readr from thinking commas = thousand separators, and from + # inferring column types incorrectly + read_csv(file.path(directory, f), + locale = locale(grouping_mark = ""), col_types = cols( + UserLanguage = col_character(), + StartDatetime = col_datetime(), + EndDatetime = col_datetime(), + weight = col_number(), + wave = col_integer(), + fips = col_character(), + A2 = col_number(), + A5_1 = col_number(), + A5_2 = col_number(), + A5_3 = col_number(), A2b = col_number(), A3 = col_character(), A4 = col_number(), - B2 = col_character(), - B2_14_TEXT = col_character(), - B2c = col_character(), - B2c_14_TEXT = col_character(), - B4 = col_number(), - B5 = col_number(), - B7 = col_character(), - B10b = col_character(), - B12a = col_character(), - C1 = col_character(), - C3 = col_number(), - C4 = col_number(), - C5 = col_number(), - C7 = col_number(), - C13 = col_character(), - C13a = col_character(), - D1_4_TEXT = col_character(), - E3 = col_character(), - fips = col_character(), - UserLanguage = col_character(), - StartDatetime = col_character(), - EndDatetime = col_character(), - Q65 = col_integer(), - Q66 = col_integer(), - Q67 = col_integer(), - Q68 = col_integer(), - Q69 = col_integer(), - Q70 = col_integer(), - Q71 = col_integer(), - Q72 = col_integer(), - Q73 = col_integer(), - Q74 = col_integer(), - Q75 = col_integer(), - Q76 = col_integer(), - Q77 = col_integer(), - Q78 = col_integer(), - Q79 = col_integer(), - Q80 = col_integer(), - .default = col_number())) + B2b = col_number(), + .default = col_character())) } ) return(big_df) } +#' Split multiselect options into codable form +#' +#' Multiselect options are coded by Qualtrics as a comma-separated string of +#' selected options, like "1,14", or the empty string if no options are +#' selected. Split these into vectors of selected options, which can be queried +#' using `is_selected()`. +#' +#' @param column vector of selections, like c("1,4", "5", ...) +#' @return list of same length, each entry of which is a vector of selected +#' options +split_options <- function(column) { + return(strsplit(column, ",", fixed = TRUE)) +} + +#' Test if a specific choice is selected in a multiselect item +#' +#' This is used for items that allow respondents to select multiple options from +#' a list, such as the symptoms items. Checking whether a specific selection is +#' selected in either "" (empty string) or `NA` responses will produce `NA`s, so +#' that empty responses are treated as missing, rather than as the item not +#' being selected. +#' +#' @param vec A list whose entries are character vectors, such as c("14", "15"), +#' as produced by `split_options()`. +#' @param selection one string, such as "14", representing the answer choice of +#' interest +#' @return a logical vector; for each entry in `vec`, the boolean indicates +#' whether `selection` is contained in the character vector. +#' @examples +#' \dontrun{ +#' symptoms <- split_options(data$B2) +#' +#' # vector of T/F/NA for each respondent's fever status +#' fever <- is_selected(symptoms, "1") +#' } +is_selected <- function(vec, selection) { + selections <- unlist(lapply( + vec, + function(resp) { + if (length(resp) == 0 || all(is.na(resp))) { + # Qualtrics files code no selection as "" (empty string), which is + # parsed by `read_csv()` as `NA` (missing) by default. Since all our + # selection items include "None of the above" or similar, treat both no + # selection ("") or missing (NA) as missing, for generality. + NA + } else { + selection %in% resp + } + })) + + return(selections) +} ## Helper function to extract dates from each file's filename. get_file_properties <- function(filename) { short <- strsplit(filename, ".", fixed = TRUE)[[1]][1] diff --git a/docs/symptom-survey/weights.md b/docs/symptom-survey/weights.md index c54b4bba9..928a32724 100644 --- a/docs/symptom-survey/weights.md +++ b/docs/symptom-survey/weights.md @@ -1,6 +1,6 @@ --- title: Survey Weights -parent: COVID Trends and Impact Survey +parent: COVID-19 Trends and Impact Survey nav_order: 5 --- From 6837ef5361519486f107b331f0cb33eb6bd31594 Mon Sep 17 00:00:00 2001 From: Nat DeFries <42820733+nmdefries@users.noreply.github.com> Date: Tue, 6 Jul 2021 17:17:18 -0400 Subject: [PATCH 09/10] incorporate feedback --- docs/symptom-survey/coding.md | 8 ++++---- docs/symptom-survey/index.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/symptom-survey/coding.md b/docs/symptom-survey/coding.md index 72a4f80ae..d7fe82c17 100644 --- a/docs/symptom-survey/coding.md +++ b/docs/symptom-survey/coding.md @@ -7,9 +7,9 @@ nav_order: 6 # Questions and Coding {: .no_toc} -The surveys have been deployed in several waves. We have tried to ensure the -coding of waves is consistent. This page provides the full survey text and -coding schemes. +The COVID-19 Trends and Impacts Survey (CTIS) has been deployed in several waves. +We have tried to ensure the coding of waves is consistent. This page provides +the full survey text and coding schemes. ## Table of contents @@ -467,7 +467,7 @@ new items were meant to capture reasons for vaccine hesitancy among respondents. when you use responses from multiple waves of this survey, since they may shift which occupations respondents choose. * C14a is a revision of item C14, changed from "the past 5 days" to "the past - 7 days" to be consistent with other items on the COVID Symptom Survey. + 7 days" to be consistent with other items on CTIS. C14a replaces C14. * C17a is a revision of item C17, which asked respondents if they have had a flu vaccination since June 2020. C17a changed the date to July 1, 2020 and diff --git a/docs/symptom-survey/index.md b/docs/symptom-survey/index.md index 41de2d92f..fb5961d05 100644 --- a/docs/symptom-survey/index.md +++ b/docs/symptom-survey/index.md @@ -6,7 +6,7 @@ nav_order: 2 # COVID-19 Trends and Impact Survey -Since April 2020, Delphi has conducted a voluntary COVID-19 symptom survey, +Since April 2020, Delphi has conducted a voluntary survey about COVID-19, distributed daily to users in the United States via a partnership with Facebook. This survey asks respondents about COVID-like symptoms, their behavior (such as social distancing), mental health, and economic and health impacts they have From 8b1ce517a7063fd7dcdc64e07d05c710cad7fb77 Mon Sep 17 00:00:00 2001 From: krivard Date: Fri, 9 Jul 2021 21:35:49 +0000 Subject: [PATCH 10/10] chore: release delphi-epidata 0.1.3 --- .bumpversion.cfg | 2 +- src/client/delphi_epidata.R | 2 +- src/client/delphi_epidata.js | 2 +- src/client/packaging/npm/package.json | 2 +- src/client/packaging/pypi/delphi_epidata/__init__.py | 2 +- src/client/packaging/pypi/setup.py | 2 +- src/server/_config.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index a06169a72..c5ca90e7b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.2 +current_version = 0.1.3 commit = False tag = False diff --git a/src/client/delphi_epidata.R b/src/client/delphi_epidata.R index edf4100f8..5863b23db 100644 --- a/src/client/delphi_epidata.R +++ b/src/client/delphi_epidata.R @@ -15,7 +15,7 @@ Epidata <- (function() { # API base url BASE_URL <- 'https://delphi.cmu.edu/epidata/api.php' - client_version <- '0.1.2' + client_version <- '0.1.3' # Helper function to cast values and/or ranges to strings .listitem <- function(value) { diff --git a/src/client/delphi_epidata.js b/src/client/delphi_epidata.js index 10635d4f8..f7b94c52e 100644 --- a/src/client/delphi_epidata.js +++ b/src/client/delphi_epidata.js @@ -22,7 +22,7 @@ } })(this, function (exports, fetchImpl, jQuery) { const BASE_URL = "https://delphi.cmu.edu/epidata/"; - const client_version = "0.1.2"; + const client_version = "0.1.3"; // Helper function to cast values and/or ranges to strings function _listitem(value) { diff --git a/src/client/packaging/npm/package.json b/src/client/packaging/npm/package.json index e387553b9..b6fbd196f 100644 --- a/src/client/packaging/npm/package.json +++ b/src/client/packaging/npm/package.json @@ -2,7 +2,7 @@ "name": "delphi_epidata", "description": "Delphi Epidata API Client", "authors": "Delphi Group", - "version": "0.1.2", + "version": "0.1.3", "license": "MIT", "homepage": "https://github.com/cmu-delphi/delphi-epidata", "bugs": { diff --git a/src/client/packaging/pypi/delphi_epidata/__init__.py b/src/client/packaging/pypi/delphi_epidata/__init__.py index 201706e1b..d10002d88 100644 --- a/src/client/packaging/pypi/delphi_epidata/__init__.py +++ b/src/client/packaging/pypi/delphi_epidata/__init__.py @@ -1,4 +1,4 @@ from .delphi_epidata import Epidata name = 'delphi_epidata' -__version__ = '0.1.2' +__version__ = '0.1.3' diff --git a/src/client/packaging/pypi/setup.py b/src/client/packaging/pypi/setup.py index 6c99b3623..d99cbf49d 100644 --- a/src/client/packaging/pypi/setup.py +++ b/src/client/packaging/pypi/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="delphi_epidata", - version="0.1.2", + version="0.1.3", author="David Farrow", author_email="dfarrow0@gmail.com", description="A programmatic interface to Delphi's Epidata API.", diff --git a/src/server/_config.py b/src/server/_config.py index 12b36dce4..5e0616927 100644 --- a/src/server/_config.py +++ b/src/server/_config.py @@ -5,7 +5,7 @@ load_dotenv() -VERSION = "0.1.2" +VERSION = "0.1.3" MAX_RESULTS = int(10e6) MAX_COMPATIBILITY_RESULTS = int(3650)