GithubHelp home page GithubHelp logo

gmaretto / ecls Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sejdemyr/ecls

0.0 1.0 0.0 7 KB

Processing data from the Early Childhood Longitudinal Study (ECLS)

License: MIT License

R 100.00%

ecls's Introduction

Processing Data from the Early Childhood Longitudinal Study

This repository reproduces the dataset used in this tutorial on propensity score matching.

The data come from the Early Childhood Longitudinal Study (ECLS) and cannot be made available directly due to ECLS's Terms of Use. However, once you have accepted the Terms of Use, you'll be able to quickly create an easy-to-analyze dataset (which will end up in 'data-processed/ecls.csv').

For detailed instructions on how to do this, please see below. For information on the variables included in the final dataset, please see the codebook ('data-processed/ecls-codebook.txt').

Instructions

  1. Clone or download this repository and place it somewhere on your computer.
  2. Go to the download page for ECLS.
  3. Under Dataset(s), click on 'SPSS', read and accept the Terms of Use, and the download should begin.
  4. Unzip the downloaded zip file. In it, there's a file called '04075-0001-Data.por'. Place this file directly in the folder 'data-raw' from your copy of this repository (downloaded in step 1).
  5. Open 'R/ecls-clean.R'.
    • Set your working directory to the folder you downloaded and unzipped in step 1 (e.g., setwd('~/Desktop/ecls-master').
    • Make sure you have installed all the packages loaded in the beginning of this script. If not, you can install them using install.packages(c('Hmisc', 'dplyr', 'stringr', 'sjmisc')).
    • Execute the remainder of the script. Note that reading the data into R may take a little while.

That's it! The final dataset is called 'ecls.csv' and should now be in 'data-processed'.

ecls's People

Watchers

James Cloos 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.