Giter Site home page Giter Site logo

jvpoulos / ok-lottery Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 202.37 MB

Code and data for the paper "Gender gaps in wealth and entrepreneurship? Evidence from 1901 Oklahoma land lottery winners" https://arxiv.org/abs/2206.14922

License: MIT License

R 99.96% Shell 0.04%

ok-lottery's Introduction

ok-lottery

Code and data for the paper "Gender gaps in wealth and entrepreneurship? Evidence from 1901 Oklahoma land lottery winners"

Please cite the paper if you use this code for academic research:

@article{poulos2023gender,
  title={Gender Gaps in Frontier Entrepreneurship? Evidence from 1901 Oklahoma Land Lottery Winners},
  author={Poulos, Jason},
  journal={Journal of Historical Political Economy},
  volume={2},
  number={4},
  pages={611--634},
  year={2023},
  publisher={Now Publishers, Inc.}
}

Prerequsites

  • R >= 3.5.0 (tested on 4.0.2)

Data files

The main data files used for the study are listed below.

  • Lawton land lottery records: data/lawton-A.csv and data/lawton-B.csv
  • El Reno land lottery records: data/el-reno-homesteader.csv
  • Land patents data: data/patents.csv.zip
  • 1900 Census sample
  • 1910 Census sample

Instructions

  1. cd ok-lottery, and download Census samples into data folder: wget -0 data/census-1900-100-sample.csv.zip "https://www.dropbox.com/s/aq7igj6sudaf73o/census-1900-100-sample.csv.zip?dl=1" and wget -0 data/census-1910-100-sample.csv.zip "https://www.dropbox.com/s/tj3pkzjzjx3hqp8/census-1910-100-sample.csv.zip?dl=1"

  2. Open code/main.R and ensure libraries are installed. By default, links participants to census and land patent records.

  3. chmod +x code/main.sh and run from the command line. code/main.R prepares data and outputs estimates and descriptive plots. By default, it uses trained models for record linkage.

ok-lottery's People

Contributors

jvpoulos avatar

Stargazers

 avatar

Watchers

 avatar  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.