Hello
I have a variable with the municipalities of each datapoint where each municipality is written in uppercase letters (e.g., SAN VICENTE DEL CAGUÁN). I want them to be capitalized (e.g,, San Vicente de Caguán). Hence I tried using the strproper()-function, but it is not working quite as I was hoping. First of all, it does not understand the special characters such as á, hence they are left capitalized *and* the next letter is left capitalized (e.g., CaguÁN). Furthermore, also capitalizes "del" and "de" and such which I was kind of hoping to leave all in lower case. It's a long list of municipalities, is there anyway of fixing any of these glitches in a more efficient way than doing all the names with special characters and "de" by hand?
Best,
Maria

I have a variable with the municipalities of each datapoint where each municipality is written in uppercase letters (e.g., SAN VICENTE DEL CAGUÁN). I want them to be capitalized (e.g,, San Vicente de Caguán). Hence I tried using the strproper()-function, but it is not working quite as I was hoping. First of all, it does not understand the special characters such as á, hence they are left capitalized *and* the next letter is left capitalized (e.g., CaguÁN). Furthermore, also capitalizes "del" and "de" and such which I was kind of hoping to leave all in lower case. It's a long list of municipalities, is there anyway of fixing any of these glitches in a more efficient way than doing all the names with special characters and "de" by hand?
Best,
Maria
Comment