You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The R markdown report should import the date and time the ELISA test was performed from the header information in the raw ELISA results file. Currently this is not working and just produces NA.
Proposed solution:
The Biotek 800TS Gen5 software that produces the raw ELISA results file is American, therefore uses the 12 hour clock. Posixct formatting in the r code is expecting a 24 hour clock format:
elisa_timestamp <- as.POSIXlt.character(elisa_timestamp, format = "%d/%m/%Y %H:%M")
Change this to a 12 hour clock format including the AM or PM designation:
elisa_timestamp <- as.POSIXlt.character(elisa_timestamp, format = "%d/%m/%Y %I:%M %p")
The text was updated successfully, but these errors were encountered:
I'm not sure if I've understood completely but you could try importing as text initially then use lubridate::parse_date_time, passing various datetime formats to the orders argument. It will go through the list of formats in the order you provide them and attempt to parse the datetime. Useful if you are not sure exactly what the format might be when importing.
@PaulC91 it seems to be something strange with my windows 10 locale - when I open .csv files in Microsoft Excel I have to use text to columns to convert them - I didn´t have to do this with .csv files in windows 7. The timestamp now appears in the .Rmd report but not in the relevant column of the output results file unless I open the .csv in Microsoft Excel first and save it.
Problem statement:
The R markdown report should import the date and time the ELISA test was performed from the header information in the raw ELISA results file. Currently this is not working and just produces
NA
.Proposed solution:
The Biotek 800TS Gen5 software that produces the raw ELISA results file is American, therefore uses the 12 hour clock. Posixct formatting in the r code is expecting a 24 hour clock format:
Change this to a 12 hour clock format including the AM or PM designation:
The text was updated successfully, but these errors were encountered: