Skip to content

A small PHP tool that scrapes and outputs data about COVID-19 in select states.

License

Notifications You must be signed in to change notification settings

guillermoandrae/coronavirus-reporter

Repository files navigation

Coronavirus (COVID-19, specifically) Reporter

Travis Scrutinizer Scrutinizer Coverage @guillermoandrae on Twitter

This project provides data about the number of confirmed COVID-19 cases in select states.

A Note About DOH Sites

Lots has changed since this project first went live. I'm no longer scraping Department of Health websites, because most of them look way different than they originally did and are using more advanced methods of conveying information (like visualizations that can't be easily scraped).

Installation

Do this, then relax (if you can!!!!!):

composer install guillermoandrae/coronavirus-reporter

Getting Started

You can run this locally:

php ./bin/covid-19.php

You can also view the API available at https://covid-19.bklyn.dev/.

Testing

Run the following command to make sure your code is appropriately styled:

composer check-style

Run the following command to check style, run tests, and generate a Clover report:

composer test

Run the following command to check style, run tests, and generate an HTML report (access the report at http://localhost:8080):

composer test-html

Releases

No releases published

Packages

No packages published

Languages