osem_phenomena: Get the counts of sensors for each observed phenomenon.

Description Usage Arguments Value Methods (by class) See Also Examples

Description

Get the counts of sensors for each observed phenomenon.

Usage

1
2
3
4
osem_phenomena(boxes)

## S3 method for class 'sensebox'
osem_phenomena(boxes)

Arguments

boxes

A sensebox data.frame of boxes

Value

A named list containing the count of sensors observing a phenomenon per phenomenon

Methods (by class)

See Also

osem_boxes

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# get the phenomena for a single senseBox
osem_phenomena(osem_box('593bcd656ccf3b0011791f5a'))


  # get the phenomena for a group of senseBoxes
  osem_phenomena(
    osem_boxes(grouptag = 'ifgi', exposure = 'outdoor', date = Sys.time())
  )

  # get phenomena with at least 30 sensors on opensensemap
  phenoms = osem_phenomena(osem_boxes())
  names(phenoms[phenoms > 29])

opensensmapr documentation built on May 2, 2019, 2:58 p.m.