Learn R Programming

datapasta (version 3.1.0)

dp_set_decimal_mark: dp_set_decimal_mark

Description

A function to optionally set the decimal mark if in a locale where it is not `.`. Will allow "3,14" to be parsed as 3.14, normally would be parsed as 314. Will also handle spaces in numbers.

Usage

dp_set_decimal_mark(mark)

Arguments

mark

The decimal mark to use when parsing "number" type data, as guessed by readr::guess_parser.

Value

NULL.