Learn R Programming

BerlinData (version 1.0.1)

getDatasetMetaData: Gets metadata for a dataset or list of datasets

Description

Gets metadata for a dataset or list of datasets

Usage

getDatasetMetaData(where, ...)

Arguments

where
where to look for metadata
...
optional additional arguments to methods

Examples

Run this code
# query
result <- searchBerlinDatasets(query = "vornamen")
summary(result)

# options to get metadata:
# pass in URL
metadata <- getDatasetMetaData(result[[2]]$link)
# returns 'berlin_data_dataset' object with list of available resources
class(metadata)

# pass in object
metadata <- getDatasetMetaData(result[[2]])
# same result as passing in link

# pass in berlin_data_list with query results to get metadata
# for all objects in list
metadata <- getDatasetMetaData(result)
summary(metadata)
summary(metadata[[1]])

Run the code above in your browser using DataLab