Skip to content
/ ecls Public

Processing data from the Early Childhood Longitudinal Study (ECLS)

License

Notifications You must be signed in to change notification settings

sejdemyr/ecls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (ICPSR 4075).
  3. Click on 'Download', choose '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('tidyverse', 'haven', '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'.

About

Processing data from the Early Childhood Longitudinal Study (ECLS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages