Open mariabnd opened 5 years ago
Make slight changes to inputs and lookups used in convert_country to avoid potential user input errors.
Currently the only limitations on name input has to do with length of ISO 3166 alpha-2 inputs.
Using toupper() within the function for the lookup and toTitleCase() when returning full country name
Detailed description
Make slight changes to inputs and lookups used in convert_country to avoid potential user input errors.
Context
Currently the only limitations on name input has to do with length of ISO 3166 alpha-2 inputs.
Possible implementation
Using toupper() within the function for the lookup and toTitleCase() when returning full country name