Welcome to Rgrd package.
This packages helps you to interact with a ereuse.org Global Devide Repository (GRD).
What this package does.
Below some examples you can run without any installation:
- Get devices information from a GRD. Get GRD Devices Data
How to install from Github
Just fire up an R shell and type:
install.packages("https://github.com/eReuse/Rgrd/raw/master/Rgrd_0.02.tar.gz", repos = NULL, type="source")
How to install from source file
Download it as a .zip or .tar.gz, decompress it, install on R a file with name Rgrd_[version].tar.gz
How start with this package
On R shell type: (after installation on your R)
library(Rgrd)
url.token <- "http://sandbox.ereuse.org/api-token-auth/"
path.base <- "http://sandbox.ereuse.org"
path.devices <- getPath(path.base, "devices")$result
username = "demo"
password = "demo"
token <- getToken(url.token,username,password)$result
devices <- getData(path.devices,token)$result
``
Rgrd Manual
Get introduced to this package using our Rgrd manual