convert.db.to.r.Rd
Convert data from a database table to R format
convert.db.to.r( vals, rclass = schema$rclass, schema = NULL, as.data.frame = is.data.frame(vals), null.as.na = TRUE, origin = "1970-01-01" )
vals | the values loaded from the database table |
---|---|
rclass | the r class of the table columns, is extracted from schema |
schema | a table schema that can be used to convert values |
null.as.na | shall NULL values be converted to NA values? |
origin | the origin date for DATE and DATETIME conversion |