This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
#module downloaded from https://github.com/cmu-delphi/delphi-epidata/blob/master/src/client/delphi_epidata.py | |
from delphi_epidata import Epidata | |
#see https://cmu-delphi.github.io/delphi-epidata/api/covidcast.html for API details | |
#oneida county: geo_type='county', geo_value='36065' | |
#queens: geo_type='county', geo_value='36081' | |
#NY state: geo_type='state', geo_value='NY' | |
res = Epidata.covidcast(data_source='fb-survey', signal='smoothed_cli', |