ods_get_csv: Download a dataset csv

View source: R/ods_get_csv.R

ods_get_csvR Documentation

Download a dataset csv

Description

ods_get_csv returns a dataset from statistics.gov.scot The dataset parameter must be passed a valid dataset name (a full list can be obtained by calling ods_all_datasets().

Usage

ods_get_csv(dataset)

Arguments

dataset

string. The identifying final part of a URI for a dataset on statistics.gov.scot.

Value

tibble. When invalid arguments are used returns NULL with warning (see ods_error_message).

Examples

ods_get_csv("average-household-size")


jsphdms/scotgov documentation built on Feb. 2, 2024, 1:06 a.m.