Description Usage Arguments Value
Reads Data of many different formats. Currently: .dta (STATA), .sav (SPSS), .mat (MATLAB), .xls/.xlsx (Excel), and .raw, .csv, .txt, .asc, .dat. Is the basis-function for the GREA add-in.
1 2 |
filelocation |
A single string with the location and name of the file, e.g. “data/blabla.csv” |
header |
A logical indicating whether a text-delimited file contains a header row. |
sep |
A character string specifying a column separator. |
dec |
A character string specifying a decimal separator. |
sheetIndex |
A numerical value to indicate which sheet to import (Excel formats). |
na.values |
A character string specifying which values to convert to NA's.
while importing. Can be a vector of values when reading text-delimited files ( |
skip |
How many rows should be skipped? Only for text-delimited files and Excel files. |
encoding |
Encoding of text-delimited files (see |
A dataframe, containing the read-in data plus the code to read the data as an attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.