Learn R Programming

sos4R (version 0.2-11)

getObservation-methods: Request Observations

Description

This method sends a GetObservation request to the given SOS.

Arguments

Methods

signature(sos = "SOS", offering = "SosObservationOffering") or signature(sos = "SOS", offering = "character")
Request observation data from the given SOS for the given offering (either character identifier or an object of class SosObservationOffering).
signature(sos = "SOS", observationId = "character")
Request observation data from the given SOS for the given observation identifier.

Details

It takes a variety of inputs, of which only the offering is mandatory for GetObservation request, and the observationId for GetObservationByIdRequests.

Examples

Run this code
## Not run: 
# # by identifier
# sos <- SOS(...)
# os.offerings <- sosOfferings(sos)
# obsId <- getObservationById(sos = sos, observationId = "o_3508493")
# 
# # TODO
# 
# ## End(Not run)

Run the code above in your browser using DataLab