query_lagos_names: Query LAGOSUS names

View source: R/utils.R

query_lagos_namesR Documentation

Query LAGOSUS names

Description

Return a vector of table names whose associated tables have columns that grep to query.

Usage

query_lagos_names(grep_string, scale = NA, dt)

Arguments

grep_string

character search string to grep to table column names

scale

character filter results by one of:

  • county

  • edu

  • hu4

  • hu8

  • hu12

  • state

dt

data.frame output of lagosus_load

Examples

## Not run: 
lg <- lagosus_load(c("locus", "depth"))
query_lagos_names("zoneid", dt = lg)
query_lagos_names("ws_meanwidth", dt = lg)
query_lagos_names("max_depth_m", dt = lg)

## End(Not run)

cont-limno/LAGOSUS documentation built on Aug. 24, 2023, 10:01 a.m.