Obtain the name of the reference code used on a chart
get_refcode(chartcode, yname, chartgrp = get_chartgrp(chartcode))
The chart code, returned by create_chartcode()
Name of the response variable
The chart group. If not specified, it is calculated automatically.
get_refcode()
returns a string.
get_refcode("NJAA", "hgt")
#> [1] "nl_2009_hgt_male_nl"