read_data: Read data in csv.

View source: R/test_data.R

read_dataR Documentation

Read data in csv.

Description

Read data in csv.

Usage

read_data(x, digits = 4)

Arguments

x

the name of the file which the data are to be read from. this is a data.frame in format csv.

digits

Number of digits are rounded to. DEFAULT: 4

Value

a tibble

See Also

Package 'tibble' as 'readr'

Examples

## Not run: 
# Test data
csv <- system.file("extdata", "test.csv", package = "GeodesiCL")
data_test <- read_data(csv)

## End(Not run)

diegoalarc/GeodesiCL documentation built on July 24, 2022, 9:14 p.m.