View source: R/statswales_list_datasets.R
| statswales_list_datasets | R Documentation |
Returns a data frame of all published datasets available from the StatsWales public API. All pages are fetched automatically, so the full catalogue is returned.
statswales_list_datasets(lang = "en-gb")
lang |
Language for returned text. One of |
A data frame with columns id, title, first_published_at,
last_updated_at, and archived_at. Timestamp columns are POSIXct
(UTC). Returns NULL if the request fails.
## Not run:
datasets <- statswales_list_datasets()
datasets_cy <- statswales_list_datasets(lang = "cy-gb")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.