import: Import a dataset

Description Usage Arguments Details Value See Also Examples

View source: R/import.R

Description

The import function can import data from delimited text files, Excel spreadsheets, and statistical packages such as SAS, SPSS, and Stata.

Usage

1

Arguments

file

datafile to import

...

parameters passed to the import function. See details.

Details

The import function is a wrapper for the haven, readxl, and vroom packages.

Value

a data frame

See Also

fileutils read_sas,read_dta,read_spss read_excel vroom

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 mydataframe <- import("mydata.csv")
 }

## End(Not run)

Rkabacoff/easyreader documentation built on Oct. 30, 2019, 10:57 p.m.