Epiconcept-Paris / STRAP-epiuf

Utility function package for STRAP
0 stars 0 forks source link

readData() add an option to change the encoding #112

Closed epi-mml closed 7 months ago

epi-mml commented 8 months ago

Like in the read.csv() for exemple, it's possible to specify the encoding, we can add the argument fileEncoding = "latin1", useful for data with special character like "é" or "è" in French data

epi-gde commented 8 months ago

@epi-mml Hello, Have you try readData( your parameters, encoding="latin1") or readData(your parameters, fileEncoding = "latin1" This was planned to pass extra parameters to base functions

epi-mml commented 7 months ago

Thank you Gilles. I'm sorry I forgot to answer here but with adding the parameter : encoding = "latin1", it works.