add_lookup: Add a geographic facet lookup to a database

Description Usage Arguments Value

View source: R/add_lookup.R

Description

Add a geographic facet lookup to a database

Usage

1

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 Jan. 14, 2019, 8:58 p.m.