outbreak-info / R-outbreak-info

R package to access the genomics and epidemiology data and Research Library metadata compiled and standardized on outbreak.info.
https://outbreak-info.github.io/R-outbreak-info/
MIT License
19 stars 10 forks source link

Issues with location lookup in getEpiData #60

Open flaneuse opened 2 years ago

flaneuse commented 2 years ago

x = getEpiData(name = c("Los Angeles-Long Beach-Anaheim", "Detroit-Warren-Dearborn, MI", "New Orleans-Metairie, LA")) -- > LA gets dropped

x = getEpiData(name = c("Los Angeles-Long Beach-Anaheim, CA", "Detroit-Warren-Dearborn, MI", "New Orleans-Metairie, LA"))
x %>% count(name)

--> LA missing data

x = getEpiData(name = c("Los Angeles", "Detroit-Warren-Dearborn, MI", "New Orleans-Metairie, LA")) --> LA dropped

x = getEpiData(name = "Los Angeles") --> throws error (no data found?)