|
- % Generated by roxygen2 (4.0.1): do not edit by hand
- \encoding{UTF-8}
- \name{loadLabelsFromFile}
- \alias{loadLabelsFromFile}
- \title{Load labels from a flat file}
- \usage{
- loadLabelsFromFile(dataframe, file)
- }
- \arguments{
- \item{dataframe}{The dataframe to which you want to assign labels}
-
- \item{file}{The flat file from which to load the label data}
- }
- \value{
- The dataframe with label attributes
- }
- \description{
- Loads label values from a flat file and applies them to the provided dataframe
- }
- \details{
- This function takes a dataframe and adds label attributes to the variables.
- The file must be formatted like so :
- variablename = "Label for the variable"
- with one line per variable
- As always, be careful of the case sensitiveness and the use of double quotes !
- }
- \examples{
- \dontrun{df <- loadLabelsFromFile(df,"labels.txt")}
- }
|