malaria-atlas-project / malariaAtlas

An R interface to open-access malaria data, hosted by the Malaria Atlas Project.
https://malariajournal.biomedcentral.com/articles/10.1186/s12936-018-2500-5
Other
42 stars 21 forks source link

Confirm whether getShp returns an error correctly if you put in a nonexistent ISO #35

Closed Danpfeffer closed 5 years ago

Danpfeffer commented 5 years ago

e.g. > DRC <- malariaAtlas::getShp(ISO = "DRC")

Error in rgdal::readOGR(dsn = shp.path, layer = lyr) : no features found In addition: Warning message: In ogrFIDs(dsn = dsn, layer = layer) : no features found

Does not seem right