
Get the geodata catalog of the Swiss Confederation
Source:R/bfs_get_catalog_geodata.R
bfs_get_catalog_geodata.RdList the geodata collections of the STAC API of the Swiss geo-portal
(https://data.geo.admin.ch/), from the BFS and other federal offices.
Download a collection with bfs_download_geodata().
Value
A tibble with one row per collection: collection_id, type and
href, and with include_metadata = TRUE, title, description,
created, updated, crs, license, provider_name, bbox and
inverval. Returns NULL if there is no internet connection.
Examples
if (FALSE) { # interactive()
catalog_geodata <- bfs_get_catalog_geodata()
# the collections of the BFS
catalog_geodata[grepl("^ch.bfs", catalog_geodata$collection_id), ]
}