Description Usage Arguments Details Value Examples
This function will load data from a remote source accessible through HTTP or FTP based on configuration information found in the specified .url file. The .url file must specify the URL of the remote data source and the type of data that is available remotely. Only one data source per .url file is supported currently.
1 | url.reader(data.file, filename, variable.name)
|
data.file |
The name of the data file to be read. |
filename |
The path to the data set to be loaded. |
variable.name |
The name to be assigned to in the global environment. |
Examples of the DCF format and settings used in a .url file are shown below:
Example 1 url: http://www.johnmyleswhite.com/ProjectTemplate/sample_data.csv separator: ,
No value is returned; this function is called for its side effects.
1 2 3 | library('ProjectTemplate')
## Not run: url.reader('example.url', 'data/example.url', 'example')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.