| importData | R Documentation |
It helps import the data set, whether it's in a tsv, csv, txt, or excel format.
importData(filepath, filetype = "excel", separator = NULL, ...)
filepath |
Path of the file to be imported. |
filetype |
The type of file to be imported. By default, it's
|
separator |
The delimiter in your data set, if it's a |
... |
Any other argument that can be passed in the
|
A data frame
## Not run:
# If it's an excel file
importData("path/to/file")
# If it's a csv file
importData("path/to/file", filetype = "csv")
# If it's a txt file with each observation separated by a "|"
importData("path/to/file", filetype = "txt", separator = "|")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.