View source: R/call_construction.R
add.variables | R Documentation |
Add variables to a query
add.variables(query, variables)
query |
A URL containing authentication for the EPA API site. |
variables |
A list of variables. Each variable should be declared with the appropriate name. Consult VARIABLE.TYPES for the right names. |
A URL consisting of query + variables.
## Not run: endpoint <- "dailyData/byState" variable.list <- list("state" = '37', "bdate" = '20200101', "edate" = '20200102', "param" = '44201') call <- epair::create.base.call(endpoint) call <- add.variables(call, variable.list) call ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.