Learn R Programming

ecoengine (version 1.12.0)

ee_search_obs: Search observations

Description

A powerful way to search through the observations.

Usage

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

Arguments

query

= The search term

page

Page number

page_size

The number of observations per page returned by the query. The package default is 250 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 or timeout.

quiet

Default is FALSE. Set to TRUE to suppress messages.

progress

Progress bar is set to TRUE by default. Use FALSE especially when calling functions inside documents.

foptions

A list of additional arguments for httr. There is no reason to use this argument except for debugging purposes.

Value

data.frame

See Also

ee_search)

Examples

Run this code
# NOT RUN {
# general_lynx_query <- ee_search_obs(query  = "Lynx")
 
# }
# NOT RUN {
# 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