DATA_TYPES | R Documentation |
In the metadata, the following entries are allowed for the variable attribute DATA_TYPE:
DATA_TYPES
An object of class list
of length 4.
integer
for integer numbers
string
for text/string/character data
float
for decimal/floating point numbers
datetime
for timepoints
As function arguments, dataquieR uses additional type specifications:
numeric
is a numerical value (float or integer), but it is not an
allowed DATA_TYPE
in the metadata. However, some functions may accept
float
or integer
for specific function arguments. This is, where we
use the term numeric
.
enum
allows one element out of a set of allowed options similar to
match.arg
set
allows a subset out of a set of allowed options similar to
match.arg with several.ok = TRUE
.
variable
Function arguments of this type expect a character scalar that
specifies one variable using the variable identifier given in
the metadata attribute VAR_NAMES
or, if label_col
is set,
given in the metadata attribute given in that argument.
Labels can easily be translated using prep_map_labels
variable list
Function arguments of this type expect a character vector
that specifies variables using the variable identifiers
given in the metadata attribute VAR_NAMES
or,
if label_col
is set, given in the metadata attribute
given in that argument. Labels can easily be translated
using prep_map_labels
integer string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.