Giter VIP home page Giter VIP logo

donut-effect's Introduction

donut-effect

Replication code for "The Donut Effect of Covid-19 on Cities" by Arjun Ramani and Nicholas Bloom. Click here for the most recent draft of our working paper: https://www.nber.org/system/files/working_papers/w28876/w28876.pdf

Replication file instructions

This repository contains all data and scripts necessary to replicate the figures and tables found in the paper. You may need R version 3.6.2 or later to successfully run.

Creating all figures and tables from intermediate datasets

To replicate all figures and tables using intermediate data stored in the data folder, run:

  • all_R_figures.R to create all figures that use R
  • all_stata_figures.do to create all figures that use Stata
  • tables.R to create all regression tables

Creating intermediate datasets (used to create figures and tables)

Some of the datasets used in this process must be downloaded from various locations. To ease this process, we have stored each of these datasets in the data/external_data folder. The locations of all datasets can be found in the files inside the scripts folder. To create the intermediate datasets used for the figures and tables from scratch, run

  • create_all_datasets.R to create the Zillow and USPS datasets

Branches

  • nber-wp contains code for the original May 2021 version of the NBER working paper
  • main contains code for the updated version of the paper (in-progress)

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.