get_metadata | R Documentation |
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.
get_metadata(dhlabids = NULL, urns = NULL)
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. |
A dataframe containing the National Library metadata for the specified objects.
urns_example <- c("URN:NBN:no-nb_digibok_2008051404065", "URN:NBN:no-nb_digibok_2010092120011")
metadata_urns <- get_metadata(urns = urns_example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.