Active3 years, 10 months ago
There is different output of R eurostat library on Windows and Linux/Mac RStudio.
There is different output of R eurostat library on Windows and Linux/Mac RStudio. While Linux/Mac downloads variables as texts (factors), Windows returns only factors id as integer.
While Linux/Mac downloads variables as texts (factors), Windows returns only factors id as integer.
Try this code please:
This is result on Linux/Mac RStudio:
Windows RStudio returns this result:
Do you know how to change it on Windows?
Marek L.Marek L.
1 Answer

Download R Studio For Windows

Solution: Install development version from github:
Function get_eurostat() contains stringsAsFactors = default.stringsAsFactors() parameter and it works now.
Marek L.Marek L.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.