if (FALSE) {
# Set your API key
options(geofi_mml_api_key = "your_api_key_here")
# Fetch the list of collections
collections <- ogc_get_maastotietokanta_collections()
print(collections)
# Alternatively, provide the API key directly
collections <- ogc_get_maastotietokanta_collections(api_key = "your_api_key_here")
print(collections)
}
Run the code above in your browser using DataLab