3
I am trying to import a decimal column in csv (part of a dataset) through the function read_delim
. However, columns with decimal numbers (comma-separated in the original dataset) are coming as integers.
Ex:
- 175.60 appears as 17560
- 98,6851 appears as 986851
Someone knows how I fix it?
Try to use the argument
dec = ","
– Rui Barradas
The function
read_delim
(and his sistersread_csv
,read_csv2
andread_tsv
) does not have the argumentdec
.– Marcus Nunes