Code Monkey home page Code Monkey logo

face_mask_mandate's Introduction

README

  1. We use both public datasets and purchased datasets for this research. The step-by-step data importing and cleaning steps are shown in the files:

FM_import.do
(Data import file.)
FM_clean.do
(Data cleaning file.)

The data we use include:

(a) New York Times Case Reports
https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv
(b) Safegraph’s dwell time data at the county-level
(c) Safegraph’s point of interest visits by county
(d) County-level weather data
(e)County-level policies
https://ce.naco.org/?dset=COVID-19&ind=Emergency%20Declaration%20Types
And
https://docs.google.com/spreadsheets/d/133Lry-k80-BfdPXhlS0VHsLEUQh5_UutqAt7czZd7ek/edit#gid=0
(f)School closure data from MCH
(g)State-level policy
https://docs.google.com/spreadsheets/d/1zu9qEWI8PsOI_i8nI_S29HDGHlIp2lfVMsGxpQ5tvAQ/edit#gid=973655443

The cleaned dataset is named “FM_data_final.dta”. We only upload the cleaned dataset in google drive used in this study (please contact us for the google drive link). If you are interested in any intermediate datasets:
(a) the links updated on 9/1/2020 for public datasets.
(b) contact us for Safegraph datasets’ information.

  1. You can run the master file FM_master.do, which includes 5 separate do files in the analysis:

(a) main mask-mandate policy effects for public and business mandates to the dwell time at home. (FM_main_reg.do)
(b) dynamic analysis for the pre/post-policy. (FM_dynamic.do)
(c) mask-mandate policy effects for public and business mandates to the points of interest visitation. (FM_POI.do)
(d) possible spillover effect analysis from the neighboring counties’ mask mandates (FM_spillover.do)
(e) examine of the fatigue from the stay-at-home policy without mask mandate as robustness checks. (FM_fatigue.do)

  1. To start, change the mainpath directory to your local folder. In FM_import.do, the list of folders will be created under the mainpath for figures and table results.

face_mask_mandate's People

Contributors

youpeiyan avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.