laus_parse_series: Separate a LAUS series code into its components

View source: R/laus_parse_series.R

laus_parse_seriesR Documentation

Separate a LAUS series code into its components

Description

Separate a LAUS series code into its components

Usage

laus_parse_series(.codes)

Arguments

.codes

character vector with series codes

Value

a data frame with the following fields

seasonal

'S' for seasonally-transformed data, 'U' otherwise

area_prefix

a 2-character code describing a level of geographic organization

srd_code

an integer holding a 2-digit FIPS code for a state, census region, or census division

area_fips

an 11-character FIPS code for an intrastate area

measure_code

an integer code for what the series measures.

Examples

laus_parse_series(c(
    "LAUST290000000000009",
    "LAUCS233569500000005",
    "LAUMT542658000000003",
    "LAUCN170630000000005",
    "LAUCA392120000000004",
    "LAUCN210230000000003",
    "LAUCN190410000000006",
    "LAUCT134319200000005",
    "LAUMC554802000000004",
    "LAURD840000000000006"
))

higherX4Racine/hiRx documentation built on Nov. 18, 2024, 10:20 a.m.