Obtain response variables from a chartcode

get_ynames(chartcode = NULL, chartgrp = get_chartgrp(chartcode))

Arguments

chartcode

The chart code, returned by create_chartcode(). Can be a vector. If not specified, the function returns all names.

chartgrp

The chart group. If not specified, it is calculated automatically.

Value

A named vector with names of the response variables for

Examples

get_ynames("NJAA")
#>  NJAA  NJAA  NJAA 
#> "hdc" "hgt" "wgt"