View source: R/prep_datatype_from_data.R
| prep_datatype_from_data | R Documentation |
Get data types from data
prep_datatype_from_data(
resp_vars = colnames(study_data),
study_data,
.dont_cast_off_cols = FALSE,
guess_character = getOption("dataquieR.guess_character", default =
dataquieR.guess_character_default)
)
resp_vars |
variable names of the variables to fetch the data type from the data |
study_data |
data.frame the data frame that contains the measurements Hint: Only data frames supported, no URL or file names. |
.dont_cast_off_cols |
logical internal use, only |
guess_character |
logical guess a data type for character columns based on the values |
vector of data types
prep_robust_guess_data_type()
## Not run:
dataquieR::prep_datatype_from_data(cars)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.