data-raw/README.md

Data processing for lemis

The scripts in this directory import, clean, and process the data for the lemis package. While the initial version of lemis relied on the related WildDB repository for data cleaning, as of lemis v2.0.0, these processing steps have been moved to the data-raw/ subdirectory of the lemis package repository for consistency and ease of use. The lemis data preparation workflow requires execution of three scripts in succession:

In addition, there is the script scrape_codes.R, which uses the tabulizer package to extract codes from the PDF codebook to generate lemis_codes() and lemis_metadata().

Once the .fst file is generated, it can be attached to the package as a release using datastorr::github_release_create(). Please read the help file for this function before doing so. Also, before release, one should update the package version in DESCRIPTION and commit all changes to GitHub.

v2.0.0 of lemis has the 2000-2014 data set.



kephelps/LEMIS documentation built on May 7, 2019, 4:40 p.m.