query_lagos_names: Query LAGOSNE names

Description Usage Arguments Examples

View source: R/utils.R

Description

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

Usage

1
query_lagos_names(grep_string, scale = NA, dt = lagosne_load())

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 lagosne_load

Examples

1
2
3
4
5
6
7
8
## Not run: 
query_lagos_names("_dep_")
query_lagos_names("_dep_", "hu4")
query_lagos_names("chla")
query_lagos_names("secchi")
query_lagos_names("conn")

## End(Not run)

LAGOSNE documentation built on Nov. 29, 2020, 1:07 a.m.