import: Import function

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/import.R

Description

import reads a given file and returns a dataframe /matrix

Usage

1

Arguments

file

a file path character string

...

Additional arguments that can be passed to underlying functions,

Details

This function reads a data file from user input. In circumstances where user does not input a file path, this function will prompt users to choose the file. Then this function will produce a dataframe/matrix.

Value

Return a dataframe/matrix

Author(s)

Cher Qin qqin@weselayn.edu

See Also

read_sas, read_stata, read_spss, read_excel, vroom.

Examples

1
# df <- import("example.cvs")

qqcher/dsproject documentation built on Dec. 31, 2020, 2:11 a.m.