View source: R/build_query_parameters.R
build_query_parameters | R Documentation |
Create the query part of a call to the Census's data API
build_query_parameters(
variables,
for_geo,
for_items = NULL,
in_geos = NULL,
use_key = FALSE
)
variables |
<chr[]> a vector of variable names, like |
for_geo |
<chr> the geographical level the data will describe, e.g. |
for_items |
<chr[]> one or more instances of |
in_geos |
<lst> a list of key-value pairs to pass to |
use_key |
<lgl?> optional, should the query include a Census API key from the system environment. Defaults to |
a list of key-value pairs that can be converted into a URL query.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.