Data stored in the XML are inherently character strings. This function transforms the raw data into the correct type, according to the ICNARC data specification.

transform_data_type(input_data, input_name, lookup)

Arguments

input_data

vector of data to be transformed

input_name

name for vector to be found in lookup

lookup

a lookup table with conversion functions

Value

a vector of the datatype specified in lookup