When saving data to CSV, NAs are saved as "NA" strings, which causes Arquero to treat NA-containing columns as character vectors. Added parse_float Arquero method to convert the selected location column to numeric type before performing the valid test and mean operation on it.
Also added a message for when there are <18 valid values in the previous 24 hours, and rearranged some HTML and JS to make it display correctly.
Also, added local data files and Arquero library to repo so that I could test things without an internet connection. We probably don't need to merge them into dev, but it made sense to push them to this branch, because they're referenced in the code, albeit commented out.
Re: #17
When saving data to CSV,
NA
s are saved as "NA" strings, which causes Arquero to treat NA-containing columns as character vectors. Addedparse_float
Arquero method to convert the selected location column to numeric type before performing thevalid
test andmean
operation on it.Also added a message for when there are <18 valid values in the previous 24 hours, and rearranged some HTML and JS to make it display correctly.
Also, added local data files and Arquero library to repo so that I could test things without an internet connection. We probably don't need to merge them into dev, but it made sense to push them to this branch, because they're referenced in the code, albeit commented out.