From 96e5eb73ac4c22042cabc8f3d8ada781d6811d32 Mon Sep 17 00:00:00 2001 From: ross-hull Date: Mon, 13 May 2024 15:09:45 +0000 Subject: [PATCH] Update documentation --- NAMESPACE | 1 + man/show_resources.Rd | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 man/show_resources.Rd diff --git a/NAMESPACE b/NAMESPACE index 9b2bc4a..125a232 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -4,4 +4,5 @@ export(get_dataset) export(get_resource) export(get_resource_sql) export(show_datasets) +export(show_resources) importFrom(magrittr,"%>%") diff --git a/man/show_resources.Rd b/man/show_resources.Rd new file mode 100644 index 0000000..0151074 --- /dev/null +++ b/man/show_resources.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/show_resources.R +\name{show_resources} +\alias{show_resources} +\title{Show all available resources for a dataset} +\usage{ +show_resources(dataset_name) +} +\arguments{ +\item{dataset_name}{} +} +\value{ +a \link[tibble:tibble-package]{tibble} with the data +} +\description{ +Show all available resources for a dataset +} +\examples{ +show_resources("weekly-accident-and-emergency-activity-and-waiting-times") +}