geobounds 0.1.0
Breaking change
Functions for downloading data have been renamed to follow the convention
object_verb() (see https://devguide.ropensci.org/pkg_building.html):
get_gb()->gb_get().?get_gb_admfamily ->?gb_get_admfamily.get_gb_cgaz()->gb_get_world().gb_get_cgaz()is also available
for backwards compatibility, as an alias ofgb_get_world().get_gb_meta()->gb_get_metadata().
Additionally, the metadata argument has been removed. Use gb_get_metadata()
instead.
Other changes
gb_get_adm5()added.gb_get_max_adm_lvl()added.- All functions:
- Source files: Use of the
.zip/.shpversion of the dataset instead of
.geojson/.gpkg. This implies that the geojsonsf dependency in
Importsis removed as it is not needed any more. As a consequence
cached files with previous versions of the package are not used any
more. - Improve detection for Antarctica and Kosovo.
- All functions return a
MULTIPOLYGON. - Function fails gracefully when the country file is not available (with
neither errors nor warnings). httr2::req_retry()implemented to avoid timeout / transient errors.
- Source files: Use of the
gb_get*(): In all functions now thecountryargument recognize mixed
types (e.g.gb_get(country = c("Germany", "USA"))would work).gb_get_world()get the latest data available on the repo
https://github.com/wmgeolab/geoBoundaries/tree/main/releaseData.- Add DOI.
What's Changed
- Rename funs by @dieghernan in #5
- Review internals by @dieghernan in #6
New Contributors
- @dieghernan made their first contribution in #5
Full Changelog: v0.0.1...v0.1.0