1

I cannot import the following cities: Genève Bülach etc..

I have tried the solutions on Stackoverflow but nothing seems to work. Do you have something that worked for you?

Thank you.

ArbenK
  • 43
  • 1
  • 5
  • 4
    Hey ArbenK, welcome to the community. You need to provide us at least some code and the output. Furthermore, an example or the file would be perfect. – Stephan Oct 20 '18 at 18:45
  • 1
    Please show us the R commands you're using to read the file. – Caleb Oct 20 '18 at 18:50
  • 1
    Did you look at [Cannot read unicode .csv into R](https://stackoverflow.com/q/16838613/4752675) ? – G5W Oct 20 '18 at 18:54
  • 1
    This might be an encoding problem. Maybe you could try to add `options(encoding = "utf-8")` in your .Rprofile file or you could make sure that the locale on your machine are set to utf-8 – prosoitos Oct 20 '18 at 19:10

1 Answers1

2

Try importing your file specifying the encoding to encoding = "UTF-8" in the read.csv function.

For example, data <- read.csv("your_file.csv", encoding = "UTF-8").

T-rex
  • 191
  • 8