Description Usage Arguments See Also Examples
Query construction
1 2 3 | api_query(.data, ...)
api_query_(.data, ..., .dots)
|
.data |
Result of a call to |
... |
Comma separated list of unquoted variable names |
.dots |
Used to work around non-standard evaluation |
Other dsl:
api_body()
,
api_config()
,
api_error_handler()
,
api_path()
,
api_template()
,
api()
,
auth
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
## NSE
api("http://api.plos.org/search") %>%
api_query(q = ecology, wt = json, fl = 'id,journal') %>%
peep
api("http://api.plos.org/search") %>%
api_query(q = ecology, wt = json, fl = id, fl = journal) %>%
peep
## SE
api("http://api.plos.org/search") %>%
api_query_(q = "ecology", wt = "json", fl = 'id', fl = 'journal') %>%
peep
## NSE
api("http://api.plos.org/search") %>%
api_query(q = ecology, wt = json, fl = 'id,journal')
## SE
api("http://api.plos.org/search") %>%
api_query_(q = "ecology", wt = "json", fl = 'id', fl = 'journal')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.