Package 'statswalesr'

Title: Easily Extract Data from 'StatsWales'
Description: Download data from 'StatsWales' into R.
Authors: Jamie Ralph [aut, cre]
Maintainer: Jamie Ralph <[email protected]>
License: MIT + file LICENSE
Version: 0.3.0
Built: 2025-02-18 06:12:41 UTC
Source: https://github.com/jamie-ralph/statswalesr

Help Index


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")