all_packages: Details packages available from <opendata.nhs.scot>.

View source: R/all_packages.R

all_packagesR Documentation

Details packages available from <opendata.nhs.scot>.

Description

Details all packages available from <opendata.nhs.scot> in a data.frame along with the package id, with the option to limit results based on a search term.

Usage

all_packages(contains = NULL, limit = 1000L)

Arguments

contains

a character string containing an expression to be used as search criteria against the packages 'title' field.

limit

a numeric value specifying the maximum number of rows to be returned. Defaults to 1000L.

Value

a data.frame containing the names of all available packages and their package ids, or those whose name contains the string specified in the contains argument.

Examples

## Not run: 
all_packages()
all_packages(contains = "standard-populations")

## End(Not run)


odns documentation built on Nov. 10, 2022, 5:56 p.m.