|
- \encoding{UTF-8}
- \name{loadLabels}
- \alias{loadLabels}
- \title{Load labels from a flat file}
- \usage{
- loadLabels(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 this :
- variablename = "Label for the variable" with one line per
- variable
- }
- \examples{
- \dontrun{df <- loadLabels(df,"labels.txt")}
- }
|