sfbb_readgermanyshape.RdRead basin shape with all primary basins with sf package and stores as global variable defined by name.
bb_readgermanyshape(file = NULL, name = "shape", quiet = FALSE)Location of the shapefile or geopackage file
Variable name that the shapefile should be assigned to.
logical; suppress info from sf package on name, driver, size and spatial reference etc.
Loads the basins shape and stores it in a variable given by name.
The sf package will generate some printouts or warnings during processing.
if (FALSE) {
gpkg_file <- '~/basisbasins.gpkg'
bb_readgermanyshape(file = gpkg_file, name = 'basins_germany')
#wrapper for this:
basins_germany <- sf::st_read('~/basisbasins.gpkg')
}