Description Usage Arguments Details Value Author(s) See Also Examples
This function first calls getOSFfile
to download a file from the OSF to a temporary location and then calls an appropriate function to read the data into R (see details).
1 |
code |
A string indicating either the file link ( |
readfun |
The function to use when reading the data. If omitted the function will choose one based on the filetype of the file (see details). |
... |
Arguments sent to the read function. |
Depending on the file type by default the following readfunction is chosen:
read.xlsx
read.xls
read.spss
read.csv
read.table
read.dta
Look at the help page of each read function to obtain more information about the arguments needed.
The result of the read function; typically a data frame.
Sacha Epskamp <mail@sachaepskamp.com>
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.