Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-get_NASIS_table_name_by_purpose

Return NASIS 7 Physical Table Names


Description

Draft method generalizing concepts of NASIS 7 data model to group tables by "purpose." Not intended for typical user-level, and not exported at this point. Most of our more complex queries rely on tables from one or more purposes, so individual higher-level functions might call a function like this to identify the relevant tables from some data source.

Usage

.get_NASIS_table_name_by_purpose(
  purpose = c("metadata", "lookup", "site", "pedon", "transect", "component",
    "vegetation", "project", "techsoilservice", "area", "soilseries", "legend",
    "mapunit", "datamapunit"),
  SS = FALSE
)

Arguments

purpose

character. One or more of: "metadata", "lookup", "site", "pedon", "transect", "datamapunit", "component", "vegetation"

SS

append "_View_1" on appropriate tables? Default: FALSE

Value

character vector of table names

See Also

createStaticNASIS

Examples

## Not run: 
# get the "site" table names
.get_NASIS_table_name_by_purpose("site")

# get the pedon table names
.get_NASIS_table_name_by_purpose("pedon", SS = TRUE)

# metadata and lookup not affected by SS argument, but site and pedon are
.get_NASIS_table_name_by_purpose(c("metadata", "lookup",
                                   "site", "pedon"), SS = TRUE)

## End(Not run)

soilDB

Soil Database Interface

v2.6.1
GPL (>= 3)
Authors
Dylan Beaudette [aut], Jay Skovlin [aut], Stephen Roecker [aut], Andrew Brown [aut, cre]
Initial release
2021-04-7

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.