Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increment package version and update news #49

Merged
merged 4 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Package: phsopendata
Title: Extract Open Data from opendata.nhs.scot
Version: 0.2.0
Version: 0.3.0
Authors@R: c(
person("Public Health Scotland", , , "[email protected]", role = "cph"),
person("Csilla", "Scharle", , "[email protected]", role = c("aut", "cre")),
person("James", "McMahon", , "[email protected]", role = "aut"),
person("David", "Aikman", , "[email protected]", role = "aut"),
Expand Down
16 changes: 11 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
# phsopendata 0.3.0 (2024-11-21)

- [`get_dataset()`](https://public-health-scotland.github.io/phsopendata/reference/get_dataset.html) 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()`](https://httr.r-lib.org/reference/RETRY.html). (#45 and #47)
- Improvements to [`get_resource_sql()`](https://public-health-scotland.github.io/phsopendata/reference/get_resource_sql.html) error checks and messages and better handling of spaces and new lines. (#41)

# phsopendata 0.2.0 (2024-09-18)

- `get_dataset()` and `get_resource()` gain a new parameter `include_context`
- [`get_dataset()`](https://public-health-scotland.github.io/phsopendata/reference/get_dataset.html) and [`get_resource()`](https://public-health-scotland.github.io/phsopendata/reference/get_resource.html) 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
- [`get_dataset()`](https://public-health-scotland.github.io/phsopendata/reference/get_dataset.html) 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
- Two new functions [`list_datasets()`](https://public-health-scotland.github.io/phsopendata/reference/list_datasets.html) and [`list_resources()`](https://public-health-scotland.github.io/phsopendata/reference/list_resources.html) 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).
- The new function [`get_latest_resource()`](https://public-health-scotland.github.io/phsopendata/reference/get_latest_resource.html) 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 (2021-07-22)

- Initial package release.
- `get_dataset()`, `get_resource()` and `get_resource_sql()` functions added.
- [`get_dataset()`](https://public-health-scotland.github.io/phsopendata/reference/get_dataset.html), [`get_resource()`](https://public-health-scotland.github.io/phsopendata/reference/get_resource.html) and [`get_resource_sql()`](https://public-health-scotland.github.io/phsopendata/reference/get_resource_sql.html) functions added.
Loading