R/variable-start.R
get_table_name.Rd
Returns the name of the table for a table start variable
get_table_name(table_feeder_var)
string The extracted table name
# Extract table names from table feeder variables
get_table_name("$table:lookup_codes") # Returns "lookup_codes"
#> [1] "$table:lookup_codes"
get_table_name("$table:reference") # Returns "reference"
#> [1] "$table:reference"
get_table_name("$table:values") # Returns "values"
#> [1] "$table:values"