get_table_name: Returns the name of the table for a table start variable

View source: R/variable-start.R

get_table_nameR Documentation

Returns the name of the table for a table start variable

Description

Returns the name of the table for a table start variable

Usage

get_table_name(table_feeder_var)

Arguments

table_feeder_var

string The table variable start

Value

string The extracted table name

Examples

# Extract table names from table feeder variables
get_table_name("$table:lookup_codes") # Returns "lookup_codes"
get_table_name("$table:reference") # Returns "reference"
get_table_name("$table:values") # Returns "values"

Big-Life-Lab/recodeflow documentation built on Dec. 18, 2024, 10:39 a.m.