change_parameter_name.Rd
The names of the parameters that are used in the R functions do not perfectly correspond with the parameter name expected by the API. This
function converts an argument parameter name (e.g. settlement_date
) to the URL argument name (e.g. SettlementDate
) or the other way around
change_parameter_name( parameter, from = c("argument", "url"), to = c("url", "argument") )
parameter | character; name of the parameter provided to the relevant |
---|---|
from | character; one of "argument" or "url" depending on whether |
to | character; one of "argument" or "url" |
character; name of the parameter used in the URL request or build()
function. If no match is found, character(0)