get_key.mapquest: Checks to make sure the mapquest API key is set as an...

Description Usage Arguments Value Examples

View source: R/api_helper_functions.R

Description

Checks to make sure the mapquest API key is set as an environment variable

Usage

1
2
3
4
5
6
7
## S3 method for class 'mapquest'
get_key(
  env_var = "MAPQUEST_API_KEY",
  title = "MAPQUEST",
  url = "https://developer.mapquest.com/",
  install = "texascc::api_key.mapquest(key = 'X')"
)

Arguments

env_var.

String. The environment variable to check for.

Value

TRUE if a census api key exists, error if it does not exist

Examples

1
2
3
4
5
## Not run: 
texascc::api_key.mapquest(key = "X")
texascc::get_key.mapquest()

## End(Not run)

Texas-Policy-Lab/texas_child_care_deserts documentation built on Dec. 18, 2021, 4:07 p.m.