ee_search_obs: Search observations

Description Usage Arguments Value See Also Examples

View source: R/ee_search.R

Description

A powerful way to search through the observations.

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
6
# 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")

## End(Not run)

ecoengine documentation built on Feb. 20, 2020, 9:08 a.m.