[
https://issues.apache.org/jira/browse/ARROW-13421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17384881#comment-17384881
]
Daniel Paierl edited comment on ARROW-13421 at 7/21/21, 1:01 PM:
-----------------------------------------------------------------
Looks like this:
{code:r}
readr::read_csv2("arrow_repex.csv")
#> i Using '\',\'' as decimal and '\'.\'' as grouping mark. Use `read_delim()`
for more control.
#>
#> -- Column specification
--------------------------------------------------------
#> cols(
#> x = col_double()
#> )
#> # A tibble: 5 x 1
#> x
#> <dbl>
#> 1 -0.626
#> 2 0.184
#> 3 -0.836
#> 4 1.60
#> 5 0.330
{code}
It isnt the end of the world since _fread_ does the job meanwhile. Could become
bopthersome when used with automatic routines, lets say in a targets project,
but I doubt we will cross that bridge anytime soon.
was (Author: ruser):
Looks like this:
{code:r}
readr::read_csv2("arrow_repex.csv")
#> i Using '\',\'' as decimal and '\'.\'' as grouping mark. Use `read_delim()`
for more control.
#>
#> -- Column specification
--------------------------------------------------------
#> cols(
#> x = col_double()
#> )
#> # A tibble: 5 x 1
#> x
#> <dbl>
#> 1 -0.626
#> 2 0.184
#> 3 -0.836
#> 4 1.60
#> 5 0.330
{code}
> [R] Add choice for decimal marker in read_delim_arrow
> -----------------------------------------------------
>
> Key: ARROW-13421
> URL: https://issues.apache.org/jira/browse/ARROW-13421
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Affects Versions: 4.0.1
> Reporter: Daniel Paierl
> Priority: Minor
> Labels: R
>
> In the R arrow package read_delim_arrow lacks the option to specify the
> decimal marker (e.g. comma or point) in the parsing options.
> This is a major inconvenience for data with a _point_ as a decimal marker
> (european users) since the data is read in as astring which requires post-hoc
> conversion of the string to double.
>
> Request: Add a parsing option to set the decimal marker if that is possible.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)