Skip to content
No description, website, or topics provided.
PostScript Stata Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
analysis Labor subsidy Mar 28, 2020
data Compute counterfactual across 2-digit sectors with proper weighting Mar 28, 2020
text New version Mar 28, 2020
.gitattributes Add County Business Patterns Mar 14, 2020
.gitignore Commit changes Mar 27, 2020
.gitmodules industry-employment/ Mar 19, 2020
LICENSE Initial commit Mar 12, 2020
README.md Update README Mar 28, 2020

README.md

Business disruptions from social distancing

Citation

Please cite as

Koren, Miklós and Rita Pető. 2020. "Business disruptions from social distancing." CEU MicroData, Budapest. http://koren.mk/papers/working_papers/social_distancing/

License and copyright

All text (*.md, *.txt, *.tex, *.pdf) are CC-BY-4.0. All code (*.do, Makefile) are subject to the 3-clause BSD license. All derived data (data/derived/*) are subject to Open Database License. Please respect to copyright and license terms of original data vendors (data/raw/*).

Data availability statement

All raw data are saved in the folder data/raw/. The Makefile in each folder shows the URLs used to download the data.

O* NET

Citation

U.S. Department of Labor/Employment and Training Administration, 2020. "O* NET Online." Downloaded 2020-03-12.

License

CC-BY-4.0 https://www.onetonline.org/help/license

Current Employment Statistics

Citation

U.S. Bureau of Labor Statistics. 2020. "Current Employment Statistics." https://www.bls.gov/ces/ Downloaded 2020-03-15.

License

Public domain: https://www.bls.gov/bls/linksite.htm

National Employment Matrix

Citation

U.S. Bureau of Labor Statistics. 2018. "National Employment Matrix." https://www.bls.gov/emp/data/occupational-data.htm Downloaded 2020-03-15.

License

Public domain: https://www.bls.gov/bls/linksite.htm

Crosswalk

Citation

U.S. Bureau of Labor Statistics. 2019. "O* NET-SOC to Occupational Outlook Handbook Crosswalk." https://www.bls.gov/emp/classifications-crosswalks/nem-onet-to-soc-crosswalk.xlsx Downloaded 2020-03-15.

License

Public domain: https://www.bls.gov/bls/linksite.htm

GeoNames

Citation

Wick, Marc, Christophe Boutreux et al. 2020. "GeoNames geographical database." Available at: https://www.geonames.org/ Accessed on 2020-03-22.

License

CC-BY-4.0

County Business Patterns

Citation

U.S. Bureau of the Census. 2017. "County Business Patterns." Available at https://www.census.gov/programs-surveys/cbp.html

License

https://www.census.gov/data/developers/about/terms-of-service.html

Replication instructions

Software

Analysis uses Stata 15.1 without any additional Stata packages.

The entry point for analysis is analysis/Makefile, which can be run by GNU Make on any Unix-like system by

cd analysis
make

The dependence of outputs on code and input data is captured in the respective Makefiles.

We have used Mac OS X, but all the code should run on Linux and Windows platforms, too.

Hardware

The analysis takes a few minutes on a standard laptop.

File organization

  1. Raw data are in data/raw/<vendor>/<dataset>. This data is saved as it has been received from the data publisher, downloaded by the respective Makefiles. Each folder has a README.md with data citation and license terms.
  2. Clean data are in data/clean/<dataset>. Each folder has a Makefile that specifies the steps of data cleaning.
  3. Analysis data are in data/derived/<topic>. Each folder has a Makefile that specifies the steps of sample specification, variable selection and modification.
  4. Analysis codes are in analysis/. A Makefile specifies how the .do files have to be run to reproduce the analysis.
Exhibit File Code
Table 1 NA NA
Table 2 data/derived/top-industries.csv analysis/toplist.do
Table 3 analysis/cost_by_naics2.csv analysis/counterfactual.do
Figure 1 NA NA
Figure 2 NA NA
Figure 3 text/fig3.pdf analysis/scatter_customers_teamwork_byoccupation.do
Figure 4 text/fig4.pdf analysis/risk-by-density.do
You can’t perform that action at this time.