View source: R/nua_api_functions.R
get_nua_media_links | R Documentation |
This function retrieves media information from the Nordic Microalgae API and extracts slugs and URLs for different renditions (large, original, small, medium) for each media item.
get_nua_media_links(unparsed = FALSE)
unparsed |
Logical. If |
When unparsed = FALSE
: a data frame with the following columns:
slug
: The slug of the related taxon.
l_url
: The URL for the "large" rendition.
o_url
: The URL for the "original" rendition.
s_url
: The URL for the "small" rendition.
m_url
: The URL for the "medium" rendition.
## Not run:
# Retrieve media information
media_info <- get_nua_media_links(unparsed = FALSE)
# Preview the extracted data
head(media_info)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.