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
* Started adding documentation for NYT source
* Started nyt.py file in services.location module
* Testing nischal pushing to branch
* Temp directory to test parsing nyt timeseries
* Locally working nyt source on v2
* Deleted temporary folder so it hopefully passes build
* Added mock data, unit tests, and regression tests for source NYT
* Updated README to reflect new NYT source
* Fixed requested points from PR
Co-authored-by: nischalshankar <[email protected]>
**Specify source parameter with ?source=nyt. NYT also provides a timeseries! To view timelines of cases by US counties use ?source=nyt&timelines=true**
30
+
27
31
## Recovered cases showing 0
28
32
29
-
**JHU (our main data provider) [no longer provides data for amount of recoveries](https://github.com/CSSEGISandData/COVID-19/issues/1250), and as a result, the API will be showing 0 for this statistic. Apolegies for any inconvenience. Hopefully we'll be able to find an alternative data-source that offers this.**
33
+
**JHU (our main data provider) [no longer provides data for amount of recoveries](https://github.com/CSSEGISandData/COVID-19/issues/1250), and as a result, the API will be showing 0 for this statistic. Apologies for any inconvenience. Hopefully we'll be able to find an alternative data-source that offers this.**
30
34
31
35
## Available data-sources:
32
36
33
-
Currently 2 different data-sources are available to retrieve the data:
37
+
Currently 3 different data-sources are available to retrieve the data:
34
38
35
39
***jhu** - https://github.com/CSSEGISandData/COVID-19 - Worldwide Data repository operated by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE).
36
40
37
41
***csbs** - https://www.csbs.org/information-covid-19-coronavirus - U.S. County data that comes from the Conference of State Bank Supervisors.
38
42
43
+
***nyt** - https://github.com/nytimes/covid-19-data - The New York Times is releasing a series of data files with cumulative counts of coronavirus cases in the United States, at the state and county level, over time.
44
+
39
45
__jhu__ data-source will be used as a default source if you don't specify a *source parameter* in your request.
| source | The data-source where data will be retrieved from.<br>__Value__ can be: *jhu/csbs*. __Default__ is *jhu*| String |
170
+
| source | The data-source where data will be retrieved from.<br>__Value__ can be: *jhu/csbs/nyt*. __Default__ is *jhu*| String |
164
171
| country_code | The ISO ([alpha-2 country_code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)) to the Country/Province for which you're calling the Endpoint | String |
165
172
| timelines | To set the visibility of timelines (*daily tracking*).<br>__Value__ can be: *0/1*. __Default__ is *0* (timelines are not visible) | Integer |
0 commit comments