From a9c04ee318b352fe8fb3e7b1c3d155190574e922 Mon Sep 17 00:00:00 2001 From: csills01 Date: Wed, 25 Sep 2024 14:23:19 +0100 Subject: [PATCH 1/4] add get_latest_resource to readme --- README.Rmd | 1 + 1 file changed, 1 insertion(+) diff --git a/README.Rmd b/README.Rmd index 9367b56..711d01e 100644 --- a/README.Rmd +++ b/README.Rmd @@ -24,6 +24,7 @@ knitr::opts_chunk$set( `phsopendata` contains functions to interact with open data from the [Scottish Health and Social Care Open Data platform](https://www.opendata.nhs.scot/) via the CKAN API. - `get_resource()` extracts a single resource from an open dataset by resource id +- `get_latest_resource()` extracts the most recent resource from an open dataset by dataset name - `get_dataset()` extracts multiple resources from an open dataset by dataset name - `list_datasets()` returns the names of all available datasets - `list_resources()` returns information on all resources within an open dataset by dataset name From efd441b2907dd980843c78b58364d96726b454ee Mon Sep 17 00:00:00 2001 From: csillasch Date: Wed, 25 Sep 2024 13:27:44 +0000 Subject: [PATCH 2/4] Re-build README.Rmd --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d5e265a..72db7c5 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ platform](https://www.opendata.nhs.scot/) via the CKAN API. - `get_resource()` extracts a single resource from an open dataset by resource id +- `get_latest_resource()` extracts the most recent resource from an + open dataset by dataset name - `get_dataset()` extracts multiple resources from an open dataset by dataset name - `list_datasets()` returns the names of all available datasets From dcbd2bb1fbeb91ff22a06e5113f700d39ac586ae Mon Sep 17 00:00:00 2001 From: csillasch <59616009+csillasch@users.noreply.github.com> Date: Wed, 25 Sep 2024 14:49:59 +0100 Subject: [PATCH 3/4] Update README.Rmd Co-authored-by: James McMahon --- README.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.Rmd b/README.Rmd index 711d01e..035e34c 100644 --- a/README.Rmd +++ b/README.Rmd @@ -24,7 +24,7 @@ knitr::opts_chunk$set( `phsopendata` contains functions to interact with open data from the [Scottish Health and Social Care Open Data platform](https://www.opendata.nhs.scot/) via the CKAN API. - `get_resource()` extracts a single resource from an open dataset by resource id -- `get_latest_resource()` extracts the most recent resource from an open dataset by dataset name +- `get_latest_resource()` extracts the most recent resource from applicable datasets, by dataset name - `get_dataset()` extracts multiple resources from an open dataset by dataset name - `list_datasets()` returns the names of all available datasets - `list_resources()` returns information on all resources within an open dataset by dataset name From 1f696513ebab81ac44676a392f32d78c99433ab4 Mon Sep 17 00:00:00 2001 From: csillasch Date: Wed, 25 Sep 2024 13:54:42 +0000 Subject: [PATCH 4/4] Re-build README.Rmd --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72db7c5..d89afed 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ platform](https://www.opendata.nhs.scot/) via the CKAN API. - `get_resource()` extracts a single resource from an open dataset by resource id -- `get_latest_resource()` extracts the most recent resource from an - open dataset by dataset name +- `get_latest_resource()` extracts the most recent resource from + applicable datasets, by dataset name - `get_dataset()` extracts multiple resources from an open dataset by dataset name - `list_datasets()` returns the names of all available datasets