View source: R/owid_get_metadata.R
owid_get_metadata | R Documentation |
Retrieves the metadata for a data set from Our World in Data (OWID) by specifying a chart identifier or direct URL.
owid_get_metadata(chart_id = NULL, url = NULL)
chart_id |
Character string specifying the chart identifier
(e.g., "life-expectancy"). Not required if |
url |
Direct URL to an OWID chart. If provided, |
A list containing the requested OWID metadata.
# Download metadata using a data set
owid_get_metadata("life-expectancy")
# Download metadata using an url
owid_get_metadata(
url = "https://ourworldindata.org/grapher/civil-liberties-score-fh"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.