Remove key-value pairs from query strings
URLs often have queries associated with them, particularly URLs for
APIs, that look like
allows you to remove key/value pairs while leaving the rest of the URL intact.
- a vector of URLs. These should be decoded with
url_decodebut don't have to have been otherwise processed.
- a vector of parameter keys to remove.
the original URLs but with the key/value pairs specified by
# Remove multiple parameters from a URL param_remove(urls = "https://en.wikipedia.org/wiki/api.php?action=list&type=query&format=json", keys = c("action","format"))
Looks like there are no examples yet.