Skip to content

Produce helpful error on invalid geo_values in Epidata$covidcast #641

Closed
@brookslogan

Description

@brookslogan

The following requests produce "no results":

Epidata$covidcast("jhu-csse","confirmed_incidence_num","day","county",20210101,"ca")
Epidata$covidcast("jhu-csse","confirmed_incidence_num","day","county",20210101,"86824") # bogus county FIPS code
Epidata$covidcast("jhu-csse","confirmed_incidence_num","day","state",20210101,"bg") # bogus state code

These could all produce errors like "invalid geo_value for the requested geo_type". Alternatively, the first one could instead produce data for all counties in CA instead and the other two could produce this error message.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions