mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-27 15:21:55 +01:00
new helper functions for data labelling based on data dictionary
This commit is contained in:
parent
9cae725de2
commit
80328d6e9a
19
man/apply_factor_labels.Rd
Normal file
19
man/apply_factor_labels.Rd
Normal file
@ -0,0 +1,19 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/read_redcap_tables.R
|
||||
\name{apply_factor_labels}
|
||||
\alias{apply_factor_labels}
|
||||
\title{Preserve all factor levels from REDCap data dictionary in data export}
|
||||
\usage{
|
||||
apply_factor_labels(data, meta)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{REDCap exported data set}
|
||||
|
||||
\item{meta}{REDCap data dictionary}
|
||||
}
|
||||
\value{
|
||||
data.frame
|
||||
}
|
||||
\description{
|
||||
Preserve all factor levels from REDCap data dictionary in data export
|
||||
}
|
19
man/apply_field_label.Rd
Normal file
19
man/apply_field_label.Rd
Normal file
@ -0,0 +1,19 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/read_redcap_tables.R
|
||||
\name{apply_field_label}
|
||||
\alias{apply_field_label}
|
||||
\title{Apply REDCap filed labels to data frame}
|
||||
\usage{
|
||||
apply_field_label(data, meta)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{REDCap exported data set}
|
||||
|
||||
\item{meta}{REDCap data dictionary}
|
||||
}
|
||||
\value{
|
||||
data.frame
|
||||
}
|
||||
\description{
|
||||
Apply REDCap filed labels to data frame
|
||||
}
|
Loading…
Reference in New Issue
Block a user