I just started working with R for a few weeks now. But everytime I try to import a dataset that is a CSV file, the variables get weird names (X.. in front of it, while this is not in the CSV file).
I already tried to change the decimal seperator in excell but this does not change a thing. The only normal way for me to import data is if I manually change the (") in the CSV file to (') but I am looking for a way to import data from CSV! without manually mutating the CSV
If you control the source and the source is excel...
Try removing all the quotes in the file and resaving.
It may be worth opening in an editor (R studio can open as a text file, or notepad) to remove them.
But if the source is extracted from elsewhere, so will recur, then fix in R. Using something like janitor clean names, or a manual renaming or even using colnames with str_replace