IALSA / HRS

Shaping data from the Health and Retirement Study.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filter for list with RDS files

andkov opened this issue · comments

working with the file ./scripts/data/0_import_raw.R
the object lsRAND is too big (line26 - 36)
A filter needs to be be created, that would allow us to specify exactly what files from fileNamesRDS should be included into lsRAND

To solve this practical problem, you'll need some practice working with list objects review sections 10 and 11 in "R programming" swirl course see instruction on how to get started
also see Tutorial and VideoTutorial

We need to filter the files BEFORE they are combined into analysis-ready dataset

From each file, i've extracted the 1) name of the variable and 2) label of the variable. The list of names and labels of the variables are stored in individual csv files in ./data/derived/items. These files are then combined into a single excel file ./data/derived/items/item_catalog.xslx for easy inspection.