Skip to content

Reproduction files for Oregon Measure 114 project.

Notifications You must be signed in to change notification settings

edrubin/oregon-114

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oregon Measure 114

Intro

This repository contains the code and data for our analysis of Oregon Measure 114's effects on the demand for firearms in Oregon. Measure 114 was approved by Oregon's voters in November 2022 but encountered legal issues and never went into law. We use this policy variation to study how the threat of firearm restrictions affects the demand for firearms.

Paper draft coming soon...

Reproducing the results

To run the master script master-script.sh:

  1. ensure you've downloaded the requisite files (and match the structure) of data/raw;
  2. open a terminal in the root directory of the project (i.e., oregon-114);
  3. navigate to the scripts directory, i.e., cd ./scripts;
  4. make the script executable with chmod +x master-script.sh;
  5. run the script with ./master-script.sh.

Optional but recommended (before running the script):

  • obtain a Census API key;
  • add the key to your .Renviron by running (in R):
tidycensus::census_api_key('your_key_here', install = TRUE)

Credit: The NICS scraping uses the nics-firearm-background-checks Github repo published by Jeremy Singer-Vine.

About

Reproduction files for Oregon Measure 114 project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages