R is a programming language and environment for statistical computing and graphics. It entails a vast amount of community-driven extension packages with a wide variety of analysis and visualization tools. If you want the latest and greatest in data analysis, then R is the place to go.
The sensorweby package uses the Shiny web development framework by RStudio and is an R extension package itself. If you have R installed, all you need to do is run an example application locally and execute the following commands:
Two more example apps, created by the first sensorweby users in the Joaquin Project, are shown in the next screenshots. They use the R package openair, amongst others, to create plots for air quality analysis. The first shows a pollution rose for different pollutants, which can be selected from a dropdown menu on the right. The second displays a hexbin scatterplot of two variables.
The following code snippet demonstrates how the openair package’s scatterPlot function can be implemented with allowing the user a choice between different scatterplot types and other additional parameters.