read_table: Reads a table and does some minor formatting

View source: R/read_table.R

read_tableR Documentation

Reads a table and does some minor formatting

Description

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

Usage

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(s)

Leonardo Collado-Torres

Examples


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


LieberInstitute/shinycsv documentation built on May 8, 2023, 7:27 p.m.