Connecting R to the Sensor Web

1,254 views
1,179 views

Published on

Interoperable data exchange and reproducibility are increasingly important for modern scientific research. This paper shows how three open source projects work together to realize this: (i) the R project, providing the lingua franca for statistical analysis, (ii) the Open Geospatial Consortium's Sensor Observation Service (SOS), a standardized data warehouse service for storing and retrieving sensor measurements, and (iii) sos4R, a new project that connects the former two. We show how sos4R can bridge the gap be-tween two communities in science: spatial statistical analysis and visuali-zation on one side, and the Sensor Web community on the other. sos4R enables R users to integrate (near real-time) sensor observations directly into R. Finally, we evaluate the functionality of sos4R. The software en-capsulates the service's complexity with typical R function calls in a com-mon analysis workflow, but still gives users full flexibility to handle in-teroperability issues. We conclude that it is able to close the gap between R and the sensor web.

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,254
On SlideShare
0
From Embeds
0
Number of Embeds
457
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Connecting R to the Sensor Web

  1. 1. Connecting R tothe Sensor Web<br />Daniel Nüst<br />52°North Initiative forGeospatial<br />Open Source Software GmbH<br />AGILE 2011, Utrecht<br />
  2. 2. motivation<br />
  3. 3. open data, reproducibleresearch open source<br />needfor SWE analysisclients<br />spread SOS<br />power ofR<br />
  4. 4.
  5. 5. sensor web<br />
  6. 6.
  7. 7.
  8. 8. (OGC) web services in R?<br />
  9. 9. features<br />client<br />exchangeability<br />filtering<br />classesandmethods<br />Tested SOSs<br />
  10. 10. client<br />
  11. 11. exchangeability<br />myParseSensorML <- function(obj) {<br />root <- xmlRoot(obj)<br />return(xmlName(root))<br />}<br />mysos = SOS(<br />url = "http://www.sos.de/sos",<br />parsers = SosParsingFunctions(<br /> "DescribeSensor" = myParseSensorML)<br /> )<br />
  12. 12. issues<br />
  13. 13. some<br />examples<br />
  14. 14. > source("http://www.nordholmen.net/sos4r/agile2011/connecting-r-to-the-sensor-web-2011.R")<br />http://www.nordholmen.net/sos4r/agile2011/<br />
  15. 15. http://www.nordholmen.net/sos4r/agile2011/<br />
  16. 16.
  17. 17.
  18. 18.
  19. 19. status quo<br />
  20. 20. tasksandroadmap<br />
  21. 21. thankyou!<br />contact: d.nuest@52north.org<br />blog: www.nordholmen.net/sos4r<br />community: http://52north.org/geostatistics/ <br />

×