getCSV: Open a csv file as a dataframe.

Description Usage Arguments Value

View source: R/getCSV.R

Description

Opens a csv file and returns it as a dataframe.
If a file name is not provided, the function displays a (tcltk) file chooser dialog.
Requires package "tcltk".

Usage

1
getCSV(csvfile = NULL, caption = "Select csv file to import")

Arguments

csvfile

- name of csv file to open

caption

- caption for file dialog (if file name not provided)

Value

dataframe based on reading csv file. Returns NULL if no csv file was provided and the user canceled selection using the file dialog.


wStockhausen/wtsUtilities documentation built on Oct. 23, 2018, 10:27 p.m.