Appends a named list of query parameters to a base URL, URL-encoding both
names and values. Parameters whose value is NULL, NA or the empty string
are dropped; a parameter with several values is repeated (a=1&a=2). If
url already has a query string, the new parameters are appended to it.
Value
The URL with the query string appended (or the base URL unchanged when there are no parameters to add).
Examples
parse_queries("https://example.com", list(a = "1", b = "2"))
#> [1] "https://example.com?a=1&b=2"