Description Usage Arguments Details Value Examples
setDataPath
is used to (re)set the paths to the csv files containing the
PRIO GRID raw data. The path information is saved in the installation directory
of the package, so it is persistent across R sessions.
1 | setDataPath(staticPath = "", yearlyPath = "")
|
staticPath |
A character string represeting a path pointing to a static PRIO GRID csv file.
If the default value of |
yearlyPath |
A character string represeting a path pointing to a yearly PRIO GRID csv file.
If the default value of |
It is possible to set a single path if only the static or the yearly variables are required. Also, (re)setting a single path will not overwrite the other.
Void.
1 2 3 4 | ## Not run:
setDataPath(staticPath = '/home/usr/data/PRIO-GRID Static Variables - 2017-12-08.csv')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.