create.authentication: Generate the string authentication needed for EPA API

View source: R/call_construction.R

create.authenticationR Documentation

Generate the string authentication needed for EPA API

Description

Generate the string authentication needed for EPA API

Usage

create.authentication(email, key)

Arguments

email

Email registered with EPA API

key

Key obtained from EPA API. Register your email for a key here https://aqs.epa.gov/aqsweb/documents/data_api.html#signup.

Value

A string with authentication info. It looks like '&email=user_email&key=user_key'.

Examples

auth <- create.authentication("myemail@domain.com", "myapikey")
auth

GLOrozcoM/epair documentation built on July 28, 2022, 9:01 p.m.