Vignette for RWildbook-demo-1 "

This demo shows you how to search and pull data from Wildbook framework with RWildbook package. In this demo, all datasets below are searching for the same set of data which is all the encounter of individual "A-001" in "".

The searchWB function provides the main interface to the Wilbook framework and can be used in one of three ways.

data1 <- searchWB(username="username",
                  baseURL ="",
data2<- searchWB(username="username",
                 baseURL ="",
                 jdoql="SELECT FROM org.ecocean.Encounter WHERE individualID == 'A-001'")

If you are using Windows then you can enter the username and password directly in the search URL like this:

data3 <- searchWB(searchURL = " FROM org.ecocean.Encounter WHERE individualID == 'A-001'")

Otherwise, on MacOS or Linux you will need to supply your username and password as separate arguements:

data3 <-
  searchWB(username = "username",
           password = "password",
           searchURL = " FROM org.ecocean.Encounter WHERE individualID == 'A-001'")

All of these return a data frame like the following (note that the data has been altered for anonymity):


Try the RWildbook package in your browser

Any scripts or data that you put into this service are public.

RWildbook documentation built on May 1, 2019, 8:07 p.m.