okay_laus_seriesid: Check whether LAUS series ID is valid.

Description Usage Arguments Details Value Examples

View source: R/utils.R

Description

okay_laus_seriesid checks whether the given inputs yield a valid LAUS series ID string.

Usage

1
okay_laus_seriesid(adjustment, states, data_types)

Arguments

adjustment

Character vector. Seasonal adjustment ("S") or not ("U") or both.

states

Character vector. See vignette and laus_codes_list object.

data_types

Character vector. See vignette and laus_codes_list object.

Details

General error checking for LAUS data downloads.

Value

TRUE if the series IDs are valid. FALSE otherwise.

Examples

1
okay_laus_seriesid(adjustment = "U", states = c("ST0100000000000"), data_types = c("03"))

davidsovich/blsr documentation built on March 23, 2021, 5:31 a.m.