Rnightlights
Rnightlights copied to clipboard
Warning on improper quoting
Hi Chris,
I sometimes observe the following warning at the end:
Warning messages: In data.table::fread(input = ctryStructFnamePath) : Found and resolved improper quoting out-of-sample. First healed line 241: <<"BOL","PotosÃ","José MarÃa Linares","Caiza "D"",1299.43179663157>>. If the fields are not quoted (e.g. field separator does not appear within any field), try quote="" to avoid this warning.
My code is just as follows, for example:
ctry <- "BOL"
highestAdmLevelStats <- getCtryNlData(ctryCode = ctry, admLevel = "country", nlType = "VIIRS.Y", nlPeriods = nlRange("2015", "2016"), nlStats = "sum", ignoreMissing=FALSE)
This is a case of Bolivia, but there are more countries that I got this warning.
Is this a matter of concern?
Futoshi
Hi Futoshi,
Thanks for opening this issue. It seems we are not handling quotes in names well. For now this is not an issue unless you need to join data based on name where the quotes in the name might cause mismatches. Let me look into this.
Regards, Chris
Thank you very much Chris for your timely and helpful support, as always!
I'm glad to hear that this is not an issue in my case, where I do not join data based on the name of locations.
Thank you very much! Futoshi