states2URL: Converts a vector of state names to a URL compatible format
Description
This function takes a vector of state names and converts it to a format that is compatible with URLs. The resulting string can be used as a filter for APIs or other web requests.
Usage
states2URL(vec)
Value
A string containing the state names in URL-compatible format
Arguments
vec
A vector of state names to be converted to URL-compatible format