bfs_get_asset_metadata: Get asset metadata in a given language

View source: R/bfs_get_asset_metadata.R

bfs_get_asset_metadataR Documentation

Get asset metadata in a given language

Description

This function uses the DAM API https://dam-api.bfs.admin.ch/hub/swagger-ui/index.html to get the metadata of a BFS file by asset number or BFS number in a given language.

Usage

bfs_get_asset_metadata(
  number_asset = NULL,
  number_bfs = NULL,
  language = c("de", "fr", "it", "en")
)

Arguments

number_asset

The asset number of a dataset

number_bfs

The BFS number of a dataset.

language

character The language of a BFS catalog, i.e. "de", "fr", "it" or "en".

Value

list Returns a list containing asset metadata information. Returns NULL if no connection.

See Also

[bfs_download_asset()]


lgnbhl/BFS documentation built on Dec. 14, 2024, 3:06 a.m.