
Find expected data type for a column
find_type.RdRetrieve the expected data type of a given column for a specified table from data_specification.
Arguments
- what
Character string, the name of the table or element in data_specification.
- column
Character string, the name of the column whose type is queried.
Value
Character string indicating the expected R data type (e.g.,
"character", "integer", "double", "factor"), or NULL if not
found.
Details
Looks up the specification for column within entry what of
data_specification and extracts its "type" field (e.g.,
"character", "integer", "double", or "factor").
Author
Frédéric Grelot, frederic.grelot.1994_cran@m4x.org