Skip to contents

Read Metadata based on Overview on FIS Broker Datasets

Usage

read_all_metadata(
  overview = get_dataset_overview(),
  preserve_handle = TRUE,
  dbg = TRUE
)

Arguments

overview

overview tibble as retrieved by get_dataset_overview, (default: get_dataset_overview)

preserve_handle

logical. If TRUE (the default is FALSE), the Curl handle is created in advance and reused for all GET requests.

dbg

whether or not to show debug messages (default: TRUE)

Value

tibble with all metdata information

Examples

if (FALSE) {
overview <- kwb.fisbroker::get_dataset_overview()
overview_atom <- overview[overview$type == "ATOM",]
metadata_atom <- kwb.fisbroker::read_all_metadata(overview_atom)
overview_wfs <- overview[overview$type == "WFS",]
metadata_wfs <- kwb.fisbroker::read_all_metadata(overview_wfs)
overview_wms <- overview[overview$type == "WMS",]
metadata_wms <- kwb.fisbroker::read_all_metadata(overview_wms)
}