GitXplorerGitXplorer
f

health_weather

public
2 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
6ee1501f40d8852df7b3a152b5f9f6d7872d98e9

Merge pull request #1 from abbylsmith/master

fffineis committed 5 years ago
Unverified
125f4a2cecd28e4ae1b0e2927d48f79d0b098816

fixed time delta

committed 5 years ago
Unverified
43fa7924fa65f6e87fc94b9e31c5e3a76c3c8ea2

removed sep repo

committed 5 years ago
Unverified
a88d30108a02f81ce06cf7dc4ad2de654b553c2d

fixed time thing

committed 5 years ago
Unverified
ee95aa6531637f0f42421717fd0423ebf07a4950

added extra day to adjust date scale

committed 5 years ago
Unverified
432982c5c9fd821900d05f32ce97926f838a36f9

clean up readme

fffineis committed 5 years ago

README

The README file for this repository.

Kinsa US Health Weather Map data scraper

This repo contains a county-level Kinsa US Health Weather Map data scraper.


Kinsa is a company that makes Internet-connected thermometers and publishes the subsequent temperature readings in a "US Health Weather Map" Such readings can be classified as an illness when the user has a fever, and from there Kinsa uses an epidemiological model to estimate observed %-illness vs what would be expected under their model.

The scraper consists of a Jupyter notebook found in ./notebooks/scrape_kinsa_health_weather.ipynb

Install requirements

1. Python requirements

Make sure you have installed Jupyter notebook

Now install the required Python libraries:

pip install pandas matplotlib ipywidgets seaborn selenium

2. JS resources to enable IPython widgets

  1. Install node, the Javascript framework
  2. Run the following commands:
jupyter nbextension enable --py widgetsnbextension
jupyter labextension install @jupyter-widgets/jupyterlab-manager

Launch the scraper notebook

jupyter notebook ./notebooks/scrape_kinsa_health_weather.ipynb 

And then follow the instructions therein. The scraped data will be saved to .csv files in ./data with the following columns:

Column Description
condition "observed" %-illness or "atypical" %-illness
date date of %-illness reading
county county name
state state abbreviation
fips 5-digit (county, state) FIPS code
illness %-illness recorded for county