import_RDS {eatGADS}R Documentation

Import RDS file

Description

Function to import a data.frame stored as a .RDS file while extracting value labels from factors.

Usage

import_RDS(filePath, checkVarNames = TRUE)

Arguments

filePath

Source file location, ending on .RDS.

checkVarNames

Should variable names be checked for violations of SQLite and R naming rules?

Details

Factors are integers with labeled variable levels. import_RDS extracts these labels and stores them in a separate meta data data.frame. See import_DF for detailed information. This function is a wrapper around import_DF.

Value

Returns a list with the actual data dat and a data frame with all meta information in long format labels.


[Package eatGADS version 1.1.0 Index]