get_ai: Get all Agency Interest (AI) names from TEMPO.

View source: R/get_ai.R

get_aiR Documentation

Get all Agency Interest (AI) names from TEMPO.

Description

Requires a connection to MPCA's internal network.

Usage

get_ai(ai = NULL, keep_alt_names = TRUE, tempo_test = FALSE)

get_ai_names(ai = NULL, keep_alt_names = TRUE, tempo_test = FALSE)

get_ai_names(ai = NULL, keep_alt_names = TRUE, tempo_test = FALSE)

Arguments

ai

Vector of Agency Interest numbers to keep. The default, 'NULL'. will keep all values.

keep_alt_names

Include alternative names? Default is ‘TRUE'. which will include a facility’s previous names.

tempo_test

Connect to TEMPO's test database? Default is ‘FALSE'. which connects to TEMPO’s working / production database.

Examples

library(mpcadb)

/dontrun{
get_ai(ai = c(3421, 566), keep_alt_names = TRUE, tempo_test = FALSE)
}

get_ai_names(ai = c(4558, 12, 549, 1:5), keep_alt_names = TRUE, tempo_test = FALSE)
get_ai_names(ai = c(4558, 12, 549, 1:5), keep_alt_names = TRUE, tempo_test = FALSE)

MPCA-data/mpcadb documentation built on March 29, 2022, 10:05 p.m.