statswales_get_dataset: Retrieves a dataset from StatsWales

View source: R/statswales_get_dataset.R

statswales_get_datasetR Documentation

Retrieves a dataset from StatsWales

Description

statswales_get_dataset returns a dataframe from StatsWales using a dataset id.

Usage

statswales_get_dataset(id)

Arguments

id

A dataset id. Must be a single string.

Value

If the dataset id is valid, the function will return the requested dataset in a dataframe. If the id is not valid, the function will return NULL.

Examples

data <- statswales_get_dataset("LGFS0021")



jamie-ralph/statswalesr documentation built on Oct. 22, 2024, 9:45 p.m.