aqs_get: Get data from query to AQS API

Description Usage Arguments See Also

View source: R/aqs_generic.R

Description

Get data from query to AQS API

Usage

1
2
3
4
5
6
7
8
9
aqs_get(
  url = NULL,
  service,
  endpoint,
  aqs_user,
  vars = NULL,
  run = TRUE,
  rawResponse = FALSE
)

Arguments

url

URL for API request. If provided, all other arguments except run are ignored. Intended primarily for use with URLs constructed by an earlier call to aqs_get with run=FALSE.

service

API service for which data are requested. See list_services

endpoint

Service endpoint

aqs_user

User information in the form of a list with email and key. See create_user.

vars

List of variables for the endpoint request. See list_required_vars.

run

Logical indicating whether request should be submitted (TRUE, default), or only the query URL returned (FALSE).

rawResponse

Logical indicating that JSON response should be returned directly without checking or formatting. Used primarily in debugging.

See Also

aqs_sampleData aqs_list create_user


jpkeller/aqsr documentation built on Aug. 15, 2021, 5:32 p.m.