This function reads a table and does some minor formatting on it. It basically used import but can also handle `.rda` files.

read_table(path, name = path)

Arguments

path

the path to a single file.

name

the file name including the extension. Might be different from `path` in the context of fileInput.

Value

A data.frame where the POSIXct and POSIXt variables get changed to Date variables.

Author

Leonardo Collado-Torres

Examples


library("rio")
export(iris, "iris1.csv")
df <- read_table("iris1.csv")