get_metadata {dhlabR} | R Documentation |
Get National Library Metadata for identifiers
Description
This function retrieves metadata for objects from the National Library API based on either a vector of dhlabids or a vector of National Library URNs.
Usage
get_metadata(dhlabids = NULL, urns = NULL)
Arguments
dhlabids |
A vector of dhlabids (default is NULL). When provided, the function will use dhlabids to fetch metadata. |
urns |
A vector of National Library URNs (default is NULL). When provided, the function will use URNs to fetch metadata. |
Value
A dataframe containing the National Library metadata for the specified objects.
Examples
urns_example <- c("URN:NBN:no-nb_digibok_2008051404065", "URN:NBN:no-nb_digibok_2010092120011")
metadata_urns <- get_metadata(urns = urns_example)
[Package dhlabR version 1.0.6 Index]