consibiocloudclient
are used to fetch data from Consibio
Cloud. You’ll need to have a Consibio
Cloud account, in other to use this client.
Our R client interacts with the Consibio Cloud API, and provides tools to query data from resources like projects, elements, devices, and datalogs.
If you find any bugs or have any suggestions, please submit a request at our support portal.
consibiocloudclient
is available on CRAN, and can be
installed with:
install.packages("consibiocloudclient")
To get started, you’ll need to authenticate with your Consibio Cloud
account. This is done by calling the login
function, which
takes your username (email) as argument.
Once you execute the login
function, a password prompt
will appear, and you’ll be asked to enter your password.
library(consibiocloudclient)
login("bob@helloworld.com")
# After a successful login, a token will be stored in memory.
<- get_projects()
projects
# If you want to log out, you can call the `logout` function.
logout()
# After logging out, it's necessary to restart your R-session in other to remove any token stored in memory.
For a more in-depth guide on how to get started, please see
vignette("consibiocloudclient")
. Open the vignette overview
in your browser with
browseVignettes("consibiocloudclient")
.