Technomics / readflexfile

An R package to read the Flex File data format.
GNU General Public License v3.0
2 stars 1 forks source link

Dates are reading in as <chr> rather than <date> #11

Closed ahjames11 closed 3 years ago

ahjames11 commented 3 years ago

The rio::import_list() function reads in the JSON files. There is no date type in the JSON, so dates are read as character.

The flexfile_spec contains information on datatypes. Use this to change the class of all DATETIME fields to date.