https://api.stats.gov.wales/v2)sort_by argument to
statswales_get_dataset(),
statswales_get_pivot(), and
statswales_get_topic(). Accepts either a
"column:direction" string or a named vector like
c(Year = "desc")statswales_get_filters() now flattens hierarchical
dimensions: the values data frame gains parent
and level columns so nested values (e.g. Wales → local
authorities → wards) are fully representedstatswales_get_dataset() now uses a two-step POST + GET
flow; filters use the new
list(list(ColumnName = c("ref1", "ref2"))) format and
human-readable column names/values are returned by defaultstatswales_search() restored with full-text search
across dataset titles and summaries; supports mode argument
(basic, fts, fuzzy, etc.)statswales_get_filters() path updated to
/{id}/filtersstatswales_download_dataset() now uses the POST + GET
filter ID flow; format is a query parameter rather than a
URL path segmentstatswales_get_pivot() for cross-tabulated pivot
viewsstatswales_create_query() to generate a reusable
filter IDstatswales_get_query() to inspect a stored query
configuration (total row count, column mappings, applied filters)statswales_get_dataset() results are now tidied for
analysis by default: internal *_sort columns are dropped,
whitespace padding is stripped, and numeric-looking columns (including
data values) are converted to numeric. Set tidy = FALSE for
the raw API responsestatswales_get_dataset() now returns the entire dataset
by default (all_pages = TRUE); set
all_pages = FALSE for single-page retrieval. The default
page_size was also raised from 100 to 10000 (the API
maximum), so most datasets arrive in a single requeststatswales_list_datasets() now fetches the full dataset
catalogue automatically; the page_number and
page_size arguments were removedstatswales_list_datasets() and
statswales_search() are now POSIXct (UTC)
instead of characterhttps://api.stats.gov.wales/v1)statswales_list_datasets(),
statswales_list_topics(),
statswales_get_topic(),
statswales_get_filters(),
statswales_download_dataset()statswales_get_dataset() now calls the paginated view
endpoint and returns a data frame; set all_pages = TRUE to
auto-fetch all pagesstatswales_get_metadata() restored — returns full
dataset metadata including revision historylifecycle, rlang, curl,
readr, httr)httr with httr2; added
jsonlite as a dependency%>% with
the package
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.