View source: R/search_geodata.R
search_geodata | R Documentation |
search_geodata
searches for matches to argument pattern
within
the names of all available datasets on the geo-information platform of
the Swiss Confederation (https://data.geo.admin.ch/).
search_geodata( pattern, fuzzy_support = FALSE, include_links = FALSE, available_geodata )
pattern |
character string containing a regular expression to be matched in the dataset names on the geo-information platform. |
fuzzy_support |
if |
include_links |
if |
available_geodata |
result of a previous call with |
The acquisition and use of data or services is free of charge, subject to the provisions on fair use (see https://www.geo.admin.ch/terms-of-use).
A tibble with matching datasets and their retrieval function. The links
to available resources are included if include_links = TRUE
.
# Show all available datasets for the search term 'Agglomerations' search_geodata(pattern = "Agglomeration") # Show all available datasets of the Federal Office for the Environment (BAFU) search_geodata(pattern = "BAFU")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.