obm_get: Get Function

obm_getR Documentation

Get Function

Description

This function allows you to get data from an OpenBioMaps server.

Usage

obm_get(
  scope = "",
  condition = NULL,
  token = OBM$token,
  url = OBM$pds_url,
  table = OBM$project
)

Arguments

scope

Which scope? e.g. get_data

condition

A text condition based on column in your table

token

obm_init() provide it

url

obm_init() provide it

table

optional table from project

Examples

get data rows from the main table from 39980 to 39988
data <- obm_get('get_data','39980:39988')
get rows from the main table where column 'species' is 'Parus palustris'
data <- obm_get('get_data','species=Parus palustris')
get all data from the default/main table
data <- obm_get('get_data','*')
get data from a non-default table
obm_get('get_data','*',table='additional_data')

get list of available forms
data <- obm_get('get_form_list')
get data of a form
data <- obm_get('get_form_data',73)
perform strored query 'last' is a custom label
obm_get('get_report','last')
get list of available tables in the project
obm_get('get_tables')

OpenBioMaps/obm.r documentation built on Feb. 22, 2023, 5:47 p.m.