weifanjiang / COVID-data-analysis

Collect and visualize various data sources related to COVID-19 for research project at Columbia University.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COVID-data-analysis

Collect and visualize various data sources related to COVID-19 for research project at Columbia University.

lockdown dates

Records the lockdown and reopen dates for different public services. Data is obtained from IHME covid and IHME US geolocations.

For each location, the start/end date for restrictions on the following event is contained:

  • travel limit
  • stay home
  • educational facility
  • any gathering
  • any business
  • all non-essential business

The lockdown date file contains the information on worldwide locations; the lockdown date US file contains the information for US states only.

twitter geotag

Fetch the geolocation-related metadata with each tweet, including:

  • geo: the geotag if user supplied one when sending the tweet
  • usr_location: The location set by the user on user profile

A sample output can be found here.

Note that a twitter developer account is needed to run the script. A Bearer token needs to be supplied either in command line or in twitter_geotag/twitter_authentication in form of:

API key: XXX
API key secret: XXX
Bearer token: XXX

Instructions on setting up twitter developer account and authentication is here.

About

Collect and visualize various data sources related to COVID-19 for research project at Columbia University.


Languages

Language:Python 100.0%