Learn R Programming

ecoengine (version 1.3)

ee_search_obs: Search observations

Description

A powerful way to search through the observations.

Usage

ee_search_obs(query = NULL, page = NULL, page_size = 25, quiet = FALSE,
  progress = TRUE, foptions = list())

Arguments

query
= The search term
foptions
A list of additional arguments for httr. There is no reason to use this argument except for debugging purposes.
quiet
Default is FALSE. Set to TRUE to suppress messages.
page
Page number
page_size
The number of observations per page returned by the query. The package default is 25 observations. The API default, however, is 10. Setting this number higher will require fewer calls (i.e. pages) but a large size may also fail o
progress
Progress bar is set to TRUE by default. Use FALSE especially when calling functions inside documents.

Value

  • data.frame

See Also

ee_search)

Examples

Run this code
general_lynx_query <- ee_search_obs(query  = "Lynx")
 lynx_data <- ee_search_obs(query  = "genus:Lynx")
all_lynx_data <- ee_search_obs(query  = "Lynx", page = "all")

Run the code above in your browser using DataLab