add_lookup: Add a geographic facet lookup to a database

View source: R/add_lookup.R

add_lookupR Documentation

Add a geographic facet lookup to a database

Description

Add a geographic facet lookup to a database

Usage

add_lookup(db, df)

Arguments

db

A SWIM scenario database

df

A lookup table with two colums:

  1. A beta zone field BZONE, depending on the level of the zone aggregation.

  2. An aggregation field, which will have some value for all zones. The name of the data column will be the name of field in the table.

Value

Writes the new column to the ALLZONES table of the database.


pbsag/swimr documentation built on July 4, 2025, 12:10 p.m.