Learn R Programming

linea (version 0.1.1)

read_xcsv: read_xcsv

Description

Reads flat files: either csv or excel

Usage

read_xcsv(file, sheet = NULL, verbose = FALSE)

Value

data.frame from flatfile

Arguments

file

The file path that points to either a csv or excel file ending in csv, xls, xlsx, or xlsm

sheet

For excel files, the sheet name as a string or number as an integer

verbose

A boolean to specify whether to print warnings

Details

Reads csv or excel files with the suffixes csv, xls, xlsx, xlsm

Examples

Run this code
read_xcsv("https://raw.githubusercontent.com/paladinic/data/main/ecomm_data.csv")  

Run the code above in your browser using DataLab