These values a read as string, how can I read them as numeric?
I tried this suggestion but cannot get it to work as expected, possibly because the decimal separator is ,.
Hey @rbauduin! I'm on my phone right now, so I can't test this, but have you tried to explicitly passing column types to readr::read_csv() using the col_types argument?
@rensa is suggesting that you use the read_csv() function from the readr package, instead of read.csv() function from base R. In read_csv() you have the option to set the locale details, which allows you to change the default decimal and grouping marks. Once you tell read_csv() to look for commas as decimal separators and periods as grouping separators, it can figure out that column should be numeric instead of character.