GoogleCloudPlatform/covid-19-open-data

For R, suggest using fread from data.table

demetrios1 opened this issue · 4 comments

Seeing how big this file is, I think data.table::fread('https://storage.googleapis.com/covid19-open-data/v2/main.csv', na.strings = c("", "NA", "#N/A")) may be more appropriate than read.csv for the R-documentation!

@demetrios1 sorry for the late reply. This sounds like a great suggestion! Admittedly I'm not an expert in R. If you are open to it, we'd absolute accept a pull request to improve the documentation.

Do you know if the data.table::fread() function is able to handle gzipped files?

hi @owahltinez . Thanks for getting back! I'm not sure if it can to be honest.

@a27cheung will be looking into this as part of a big documentation update coming soon :-)

Hi @demetrios1 - will get to this as soon! Apologies for the delay - we’re working on a presentation to a large group this week :)