View source: R/table_addColumn.R
| table_addColumn | R Documentation | 
A new metadata column is added to the locationTbl. For
matching locationID records, the associated locationData is
inserted. Otherwise, the new column will be initialized with NA.
table_addColumn(
  locationTbl = NULL,
  columnName = NULL,
  locationID = NULL,
  locationData = NULL,
  verbose = TRUE
)
| locationTbl | Tibble of known locations. | 
| columnName | Name to use for the new column. | 
| locationID | Vector of  | 
| locationData | Vector of data to used at matching records. | 
| verbose | Logical controlling the generation of progress messages. | 
Updated tibble of known locations.
table_removeColumn
table_updateColumn
library(MazamaLocationUtils)
# Starting table
locationTbl <- get(data("wa_monitors_500")) 
names(locationTbl)
# Add an empty column
locationTbl <-
  locationTbl %>%
  table_addColumn("AQSID")
  
names(locationTbl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.