A convenience function for returning the full endpoint name from a partial (short) name.

get_full_endpoint(
  endpoint_shortname,
  endpoint_fullnames = names(api_variable_names)
)

Arguments

endpoint_shortname

character, the short name to match

endpoint_fullnames

character vector, the full names of the endpoints to match to

Value

character, the matched full name of the endpoint

Author

Matt Espe