WBjdoql: Generate the JDOQL query for the search in the Wildbook...

Description Usage Arguments

Description

This function generate the JDOQL query string according to the filters specified by users. The JDOQL query is an essential part of the search URL.

Usage

1
2
3
4
5
6
7
WBjdoql(object = "encounter", location = NULL, locationID = NULL,
  sighting_date = c("1964-01-01", "2016-12-31"),
  encounter_submission_dates = c("2003-01-01", "2016-12-31"),
  date_format = "%Y-%m-%d", sex = c("male", "female", "unknown"),
  status = c("alive", "dead"), measurement = NULL, individualID = NULL,
  encounterID = NULL, encounter_type = NULL, Date_of_birth = NULL,
  Date_of_death = NULL)

Arguments

object

can be either "encounter" for the encounter search or "individual" for the individual search.

location

A string of character contained in location names.

locationID

A character vector for filtering the locationID.

sighting_date

A character for filtering encounters which are sighted during a period of time.

encounter_submission_dates

A character for filtering encounters which are submitted during a period of time.

date_format

The format for all the arguments of date valule.

sex

A character vector of maximum size of three represents the value for the sex filter.

status

A character vector of maximum size of two represents the value for the encounter status.

measurement

A numeric object sets the minimum individual measurement when searching in the Wildbook framework.

individualID

A character vector for searching data of specific individual ID.

encounterID

A character vector for searching data of specific encounter ID.

encounter_type

A character vector of maximum size of three for searching data with specific encounter type.

Date_of_birth

A character vector for searching data of individual which is borned during a period of time.

Date_of_death

A character vector for searching data of individual which is dead during a period of time.


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