get_cleaning_function.Rd
Before a parameter can be added to a request, it often needs to be cleaned. This function returns the appropriate function for a parameter.
Parameters can be supplied with their name used in the build()
functions ("argument") or in the URL
get_cleaning_function(parameter, format = c("argument", "url"))
parameter | character; name of the parameter. Either the parameter as it's passed to the |
---|---|
format | character; what format is |
character; name of the cleaning function. If there is no associated cleaning function, then NULL