Skip to content

psylum/nyc-run-covid-testing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nyc-run-covid-testing

A simple vanilla js website to visualize the city run covid centers, as reported through the NYC H&H COVID-19 testing sites. Many thanks to ctbarna's open source project covid-wait-times releasing the wait times at each location.

Requirements

The scraper requires Node v11+, a google API token for geolocation, and the mapbox component requires a mapbox access token. Add those in your terminal or in an .env file:

GOOGLE_API_KEY=[token]
NODE_ENV_MAPBOX_ACCESS_TOKEN=[token]

Scraping

To scrape, from the root directory, run:

node scripts/testingsites_collect.js

Visualizing

Just the usual:

npm i
npm run start

or

yarn
yarn start

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.8%
  • HTML 21.8%
  • CSS 3.4%