NEWS
phsopendata 1.1.0.9000
phsopendata 1.1.0 (2026-05-06)
list_resources() has been upgraded. Instead of just returning all resources from a dataset (given the exact title), it can now search both resources and dataset titles and will list all resources that match the search!
- Csilla is back, so I've reinstated her as the package maintainer.
phsopendata 1.0.3 (2026-02-05)
- No user-facing changes. Strengthened examples and tests, particularly when ran on CRAN.
phsopendata 1.0.2 (2026-01-29)
- No user-facing changes. Update the maintainer (temporarily) to James Hayes ([email protected]) while Csilla is on a career break!
phsopendata 1.0.1 (2025-11-05)
- No user-facing changes. Fixes some tests that were failing when the open data platform is offline, and fixes tests that were failing due to a change in the open data resource. Tests are now more robust against changes to the data.
phsopendata 1.0.0 (2025-09-01)
phsopendata 0.4.0
phsopendata 0.3.0
get_dataset() now takes the col_select and row_filter arguments allowing filtering of data. (#46)
- Failed calls will be retried up to 3 times using
httr::RETRY(). (#45 and #47)
- Improvements to
get_resource_sql() error checks and messages and better handling of spaces and new lines. (#41)
phsopendata 0.2.0
get_dataset() and get_resource() gain a new parameter include_context
which allows adding context such as the resource ID and modified / created
dates to returned data (#24).
- The magrittr pipe (
%>%) is now exported (#29).
get_dataset() will now suggest multiple dataset names, when the dataset
you've asked for doesn't exist (i.e. there's a typo) and there are multiple
likely candidates (#28).
- Two new functions
list_datasets() and list_resources() allow browsing
available datasets and resources (#10).
- The new function
get_latest_resource() retrieves the most recent resource from a dataset with additional context such as the resource ID and modified / created dates (#36).
phsopendata 0.1.0