query_parser | R Documentation |
This function facilitates the parsing of querystrings, either from the URL or
a POST or PUT body with Content-Type
set to
application/x-www-form-urlencoded
.
query_parser(query = NULL, delim = NULL)
query |
The query as a single string |
delim |
Optional delimiter of array values. If omitted it is expected
that arrays are provided in exploded form (e.g. |
A named list giving the keys and values of the query. Values fron the same key are combined if given multiple times
# Using delimiter to provide array
query_parser("?name=Thomas%20Lin%20Pedersen&numbers=1 2 3", delim = " ")
# No delimiter (exploded form)
query_parser("?name=Thomas%20Lin%20Pedersen&numbers=1&numbers=2&numbers=3")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.