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

dot-get_NASIS_table_key_by_name

Get a NASIS table key by type and table name


Description

Get a NASIS table key by type and table name

Usage

.get_NASIS_table_key_by_name(
  tables,
  keycol = c("all", "fkey", "pkeyref", "pkey")
)

Arguments

tables

character vector of table names

keycol

One of: "fkey" the foreign key; "pkeyref" the primary key referenced by the foreign key, or "pkey" the primary key.

Value

The key column name for the specified table name

Examples

## Not run: 
.get_NASIS_table_key_by_name(c("site","phorizon_View_1","not_a_table"))

## 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.