-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[traits.build workflow] Time data types get reformatted with read_csv
#49
Comments
Note: You can't read in all data as character columns during I decided to convert context values to character type before they are converted to yaml, which seems to have fixed the problem! |
There is a little bit of an issue where someone might manually add a time context value to the metadata in its original format, i.e. "9:00:00". Then they would find that the context value isn't being detected in the data (because the data has been read in as "09:00:00". There is a |
Nice solution. Does the dataset_test now specify which values |
It seems that David has been converting time variables to character type within |
read_csv
read_csv
Time data types get reformatted with
read_csv
, such that e.g. "9:00:00" becomes "09:00:00". This is not an issue if it's consistent with the output ofmetadata_add_contexts
andprocess.R
. However, right nowmetadata_add_contexts
recognises "09:00:00" but then it gets written to the metadata as "32400.0".The text was updated successfully, but these errors were encountered: