Learn R Programming

odns (version 1.0.2)

all_packages: 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)

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.

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.

Examples

Run this code
if (FALSE) {
all_packages()
all_packages(contains = "standard-populations")
}

Run the code above in your browser using DataLab