Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

covid19-us-wa

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

covid19-us-wa - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

4

package.json
{
"name": "covid19-us-wa",
"version": "1.2.0",
"description": "covid19 data scrapper for a state of Washington",
"version": "1.3.0",
"description": "covid19 data for United States, Washington",
"main": "built/src/index.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -8,3 +8,4 @@ # covid19-us-wa

"covid19-us-wa" is a library that retrieves current published COVID-19 data from
the Washington State Department of Health website. Data is starting March 11, 2020. Data is not updated daily but history will be blank if no update is provided on that particular date.
the Washington State Department of Health website. Data is starting March 11, 2020. Data source is updated
daily by WADOH and history is incorporated within few hours of the published report.

@@ -39,20 +40,27 @@ Data is retrieved daily from https://www.doh.wa.gov/emergencies/coronavirus

Sample output:
{ county:
{ Clark: { positive: 1, deaths: 0 },
Grant: { positive: 1, deaths: 1 },
Island: { positive: 1, deaths: 0 },
Jefferson: { positive: 1, deaths: 0 },
King: { positive: 236, deaths: 26 },
Kitsap: { positive: 2, deaths: 0 },
Kittitas: { positive: 2, deaths: 0 },
Pierce: { positive: 17, deaths: 0 },
Skagit: { positive: 1, deaths: 0 },
Snohomish: { positive: 68, deaths: 2 },
Thurston: { positive: 1, deaths: 0 },
Whatcom: { positive: 1, deaths: 0 },
Unassigned: { positive: 36, deaths: 0 } },
total: { positive: 366, deaths: 29 },
total_tests: { positive: 366, negative: 3037 },
last_updated: '03/11/2020 2:25PM PDT'
}
{
"county":{
"Clark":{
"positive":1,
"deaths":0
},
"Grant":{
"positive":1,
"deaths":1
}
},
"total":{
"positive":366,
"deaths":29,
"new_positive":33,
"new_deaths":1
},
"total_tests":{
"positive":366,
"negative":3037,
"new_positive":11,
"new_negative":44
},
"last_updated":"2020-03-23T07:00:00.000Z"
}
*/

@@ -65,21 +73,29 @@ });

Sample output:
{ '03/11/2020':
{ county:
{ Clark: { positive: 1, deaths: 0 },
Grant: [{ positive: 1, deaths: 0 },
Island: { positive: 1, deaths: 0 },
Jefferson: { positive: 1, deaths: 0 },
King: { positive: 1, deaths: 0 },
Kitsap: { positive: 1, deaths: 0 },
Kittitas: { positive: 1, deaths: 0 },
Pierce: { positive: 1, deaths: 0 },
Skagit: { positive: 1, deaths: 0 },
Snohomish: { positive: 1, deaths: 0 },
Thurston: { positive: 1, deaths: 0 },
Whatcom: { positive: 1, deaths: 0 },
Unassigned: { positive: 1, deaths: 0 }, },
total: { positive: 366, deaths: 29 },
total_tests: { positive: 366, negative: 3037 } },
last_updated: '03/11/2020 2:25PM PDT'
}
{
"03/11/2020":{
"county":{
"Clark":{
"positive":1,
"deaths":0
},
"Grant":{
"positive":1,
"deaths":0
}
},
"total":{
"positive":366,
"deaths":29,
"new_positive":33,
"new_deaths":1
},
"total_tests":{
"positive":366,
"negative":3037,
"new_positive":11,
"new_negative":44
},
"last_updated":"2020-03-23T07:00:00.000Z"
}
}
*/

@@ -92,8 +108,18 @@ });

Sample output:
{ '03/11/2020':
{
total: { positive: 366, deaths: 29 },
total_tests: { positive: 366, negative: 3037 } },
last_updated: '03/11/2020 2:25PM PDT'
{
"2020-03-23": {
"total": {
"positive": 2221,
"deaths": 110,
"new_deaths": 15,
"new_positive": 225
},
"total_tests": {
"negative": 31712,
"positive": 2221,
"new_positive": 225,
"new_negative": 2833
}
}
}
*/

@@ -100,0 +126,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc