R-outbreak-info
R-outbreak-info copied to clipboard
R package to access the genomics and epidemiology data and Research Library metadata compiled and standardized on outbreak.info.
`getLocationData("California", "India")` fails with message `Error in pb_tick(self, private, len, tokens) : !self$finished is not TRUE`
ugh. :( `getResourcesData(query = 'seroprevalence OR "sero-prevalence"', fetchAll = TRUE)` --> ``` Error: Can't combine `..1$license` and `..2$license` . ``` `license` is a list in some cases and string in...
`jsonlite::fromJson` --> `RcppSimdJson::fparse` also remove jsonlite as pkg dependency
`searchLocations(c("California", "Florida", "Texas"), admin_level=1)` which returns `"California" "Florida" "Texas" ` seems not particularly useful.
`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,...
`getPrevalence(pangolin_lineage = "P.1", cumulative=TRUE)` returns `value.global_prevalence` `value.total_count` `value.lineage_count` `value.first_detected` `value.last_detected ` - -`value.` seems unneccesary
plotAllLineagesByLocation("United States", other_threshold = 0.05, nday_threshold = 5, ndays = 365, other_exclude = "A.1")
From @flaneuse : `searchLocations` would be MUCH more useful if there was a geographic synonym lookup function. If I try to lookup “USA” right now, I get no results. We...
The api now contains a `geometry` column with `coordinates` and `type` sub fields. Plot maps using this without the need to download shapefile or do geojoins.
@gkarthik : maybe add to API the total worldwide instances of S:N501Y and percentage of all sequences for a given mutation? could be useful in cases where there are multiple...