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

Description Usage Arguments Value Examples

View source: R/api_helper_functions.R

Description

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

Usage

1
2
3
4
5
6
7
## S3 method for class 'geocodio'
get_key(
  env_var = "Geocodio_API_KEY",
  title = "Geocodio",
  url = "https://dash.geocod.io/apikey/create",
  install = "texascc::api_key.geocodio(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.geocodio(key = "X")
texascc::get_key.geocodio()

## End(Not run)

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