Returns the tables for a given hierarchy

getTablesInRDBESHierarchy(
  hierarchy,
  includeOptTables = TRUE,
  includeLowHierTables = TRUE,
  includeTablesNotInSampHier = TRUE
)

Arguments

hierarchy

Integer value between 1 and 13 inclusive

includeOptTables

Include any optional tables? Default value is TRUE

includeLowHierTables

Include the lower hierarchy tables? Default value is TRUE

includeTablesNotInSampHier

Include tables that aren't sampling units in that hierarcy? Default value is TRUE

Value

A vector containing the 2-letter names of the tables in the requested hierarchy

Examples

getTablesInRDBESHierarchy(5)
#> [1] "DE" "SD" "OS" "LE" "FT" "SS" "SA" "FM" "BV"