Skip to content

Google's COVID-19 Community Reports for India matched with district LGD Codes.

Notifications You must be signed in to change notification settings

advaitmoharir/google_mob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Mobility Data for India

This repo consists of Google's Community 19 Mobility Report data for India at the district level, daily over the period 15th February 2020 to 15th October 2022. The data is publicly available here. My small contribution here is to match the districts to the local government directory (LGD codes), which allows for easy merging with datasets to conduct any empirical analysis at the district level!

After cleaning and matching, the dataset consists of 620 districts and 32 states/Union Territories.

Repo Structure

You will find the following folders above

  • 1_raw: Raw csvs, lgd keys and handmatched district data
  • 2_code: do file needed to clean and produce the matched data
  • 3_clean: Final cleaned dataset

Cleaning Instructions

In case you want to generate the dataset from scratch, follow the steps below:

  1. Open google_mob.stpr
  2. From within the Stata project, open 2_code/clean.do and run the file.
  3. This generate google_mobility_data.dta and google_mobility_data.csv

Some caveats

  1. Each value represents a percentage change from the January 2020 mobility level, so be careful while defining your other variables. Normalizing them to Jan 2020 values may be a good idea
  2. While all other indicators correlate well and co-move, residential mobility doesn't (see figure below)! You might want to consider excluding it from your dataset altogether.

Software

The cleaning was done using Stata 16

About

Google's COVID-19 Community Reports for India matched with district LGD Codes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages