You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recommend using our modern client libraries: [epidatr](https://cmu-delphi.github.io/epidatr/) for R and [epidatpy](https://cmu-delphi.github.io/epidatpy/) for Python. Legacy clients are also available for [Python](https://pypi.org/project/delphi-epidata/) and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
157
+
158
+
#### R (Legacy)
159
+
160
+
Place `delphi_epidata.R` from this repo next to your R script.
161
+
162
+
```R
163
+
source("delphi_epidata.R")
164
+
# Fetch data
165
+
res<-Epidata$meta()
166
+
print(res$message)
167
+
print(length(res$epidata))
168
+
```
169
+
170
+
#### Python (Legacy)
171
+
172
+
Optionally install the package using pip(env):
173
+
```bash
174
+
pip install delphi-epidata
175
+
```
176
+
177
+
Otherwise, place `delphi_epidata.py` from this repo next to your python script.
Copy file name to clipboardExpand all lines: docs/api/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,32 +117,32 @@ The parameters available for each source are documented in each linked source-sp
117
117
|[`flusurv`](flusurv.md)| FluSurv | FluSurv-NET data (flu hospitaliation rates) from CDC. | no |
118
118
|[`fluview`](fluview.md)| FluView | Influenza-like illness (ILI) from U.S. Outpatient Influenza-like Illness Surveillance Network (ILINet). | no |
119
119
|[`fluview_meta`](fluview_meta.md)| FluView Metadata | Summary data about [`fluview`](fluview.md). | no |
120
-
|[`fluview_clinical`](fluview_clinical.md)| FluView Clinical |... <!-- TODO -->| no |
120
+
|[`fluview_clinical`](fluview_clinical.md)| FluView Clinical |Clinical flu data.| no |
121
121
|[`gft`](gft.md)| Google Flu Trends | Estimate of influenza activity based on volume of certain search queries. Google has discontinued Flu Trends, and this is now a static endpoint. | no |
122
122
|[`ght`](ght.md)| Google Health Trends | Estimate of influenza activity based on volume of certain search queries. | yes |
123
123
|[`kcdc_ili`](kcdc_ili.md)| KCDC ILI | KCDC ILI data from KCDC website. | no |
124
124
|[`meta`](meta.md)| API Metadata | Metadata for `fluview`, `twitter`, `wiki`, and `delphi`. | no |
125
125
|[`nidss_flu`](nidss_flu.md)| NIDSS Flu | Outpatient ILI from Taiwan's National Infectious Disease Statistics System (NIDSS). | no |
126
126
|[`nowcast`](nowcast.md)| ILI Nearby | A nowcast of U.S. national, regional, and state-level (weighted) percent ILI, available seven days (regionally) or five days (state-level) before the first ILINet report for the corresponding week. | no |
127
127
|[`quidel`](quidel.md)| Quidel | Data provided by Quidel Corp., which contains flu lab test results. | yes |
128
-
|[`sensors`](sensors.md)| Delphi's Digital Surveillance Sensors |... <!-- TODO -->| no |
128
+
|[`sensors`](sensors.md)| Delphi's Digital Surveillance Sensors |Digital surveillance signals for influenza.| no |
129
129
|[`twitter`](twitter.md)| Twitter Stream | Estimate of influenza activity based on analysis of language used in tweets from [HealthTweets](http://HealthTweets.org/). | yes |
130
130
|[`wiki`](wiki.md)| Wikipedia Access Logs | Number of page visits for selected English, Influenza-related wikipedia articles. | no |
131
131
132
132
### Dengue Data
133
133
134
134
| Endpoint | Name | Description | Restricted? |
135
135
| --- | --- | --- | --- |
136
-
|[`dengue_nowcast`](dengue_nowcast.md)| Delphi's Dengue Nowcast |... <!-- TODO -->|... <!-- TODO -->|
137
-
|[`dengue_sensors`](dengue_sensors.md)| Delphi's Dengue Digital Surveillance Sensors |... <!-- TODO -->| ... <!-- TODO -->|
136
+
|[`dengue_nowcast`](dengue_nowcast.md)| Delphi's Dengue Nowcast |Nowcast of dengue in Puerto Rico and other regions. |... <!-- TODO -->|
137
+
|[`dengue_sensors`](dengue_sensors.md)| Delphi's Dengue Digital Surveillance Sensors |Digital surveillance signals for dengue.| ... <!-- TODO -->|
138
138
|[`nidss_dengue`](nidss_dengue.md)| NIDSS Dengue | Counts of confirmed dengue cases from Taiwan's NIDSS. | no |
139
-
|[`paho_dengue`](paho_dengue.md)| PAHO Dengue |... <!-- TODO -->| ... <!-- TODO -->|
139
+
|[`paho_dengue`](paho_dengue.md)| PAHO Dengue |Dengue cases reported by PAHO.| ... <!-- TODO -->|
140
140
141
141
### Norovirus Data
142
142
143
143
| Endpoint | Name | Description | Restricted? |
144
144
| --- | --- | --- | --- |
145
-
|[`meta_norostat`](meta_norostat.md)| NoroSTAT Metadata |... <!-- TODO -->| ... <!-- TODO -->|
145
+
|[`meta_norostat`](meta_norostat.md)| NoroSTAT Metadata |Metadata for NoroSTAT data.| ... <!-- TODO -->|
146
146
|[`norostat`](norostat.md)| NoroSTAT | Suspected and confirmed norovirus outbreaks reported by state health departments to the CDC. | ... <!-- TODO -->|
|**Data Source**| CDC influenza surveillance data |
16
+
|**Geographic Coverage**| National, HHS regions, Census divisions, and US states |
17
+
|**Temporal Resolution**| Weekly (Epiweek) |
18
+
|**Update Frequency**| Inactive - No longer updated |
19
+
|**Earliest Date**| 2013w02 (2013-01-06) |
20
+
21
+
<!-- | **License** | | -->
22
+
23
+
## Overview
24
+
{: .no_toc}
25
+
26
+
This data source provides CDC-collected influenza surveillance data from various sources.
12
27
13
28
General topics not specific to any particular endpoint are discussed in the
14
29
[API overview](README.md). Such topics include:
15
30
[contributing](README.md#contributing), [citing](README.md#citing), and
16
31
[data licensing](README.md#data-licensing).
17
32
18
-
## CDC Data
33
+
## Table of contents
34
+
{: .no_toc .text-delta}
35
+
36
+
1. TOC
37
+
{:toc}
38
+
19
39
20
-
... <!-- TODO -->
21
40
22
41
# The API
23
42
@@ -33,21 +52,130 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a
33
52
| --- | --- | --- |
34
53
|`auth`| password | string |
35
54
|`epiweeks`| epiweeks |`list` of epiweeks |
36
-
|`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 <!-- TODO: check -->|
55
+
|`locations`| locations |`list` of location codes: `nat` (national), HHS regions (`hhs1`-`hhs10`), Census divisions (`cen1`-`cen9`), or state codes (see [Geographic Codes](geographic_codes.html#us-regions-and-states))|
We recommend using our modern client libraries: [epidatr](https://cmu-delphi.github.io/epidatr/) for R and [epidatpy](https://cmu-delphi.github.io/epidatpy/) for Python. Legacy clients are also available for [Python](https://pypi.org/project/delphi-epidata/) and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
153
+
154
+
#### R (Legacy)
155
+
156
+
Place `delphi_epidata.R` from this repo next to your R script.
0 commit comments