Description Usage Arguments Value Examples
Given a URL that resolves to a downloadable data file, fetch_data()
will
attempt to download and import the data.
1 |
url |
User provided url generated by "sharing" the file via any of the
supported filetypes of |
which |
User provided spreadhseet for '.xslx', 'Google Sheets' and
'.ods' files either as the number of the sheet in order or the name of the
sheet. For .Rdata objects it can be an object name. See |
file_ext |
Optional user provided file type extension. If provided,
|
A ‘data.frame“ of data derived from any ’.csv', '.xls(x)', '.txt', or '.ods' file provided that R can import
1 2 3 4 | # Fetch a .Rda file from GitHub
P_sojae <-
fetch_data(url = "https://github.com/openplantpathology/hagis/blob/master/data/P_sojae_survey.rda?raw=true")
summary(P_sojae)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.