Obtain the transformation sequence from a chartcode and yname

get_seq(chartcode, yname, chartgrp = get_chartgrp(chartcode))

Arguments

chartcode

The chart code, returned by create_chartcode()

yname

Names of the response variable

chartgrp

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

Value

An string, either "tr" (transform-reference) or "rt" (reference-transform) specifying the transformation sequence.

Examples

get_ty("nl2010", "NJAA", "hgt")
#> Warning: Search combination not found
#> NULL