Luchtmeetnet OpenAPI

The website Luchtmeetnet is an initiative of the Ministry of Infrastructure and the Environment, the National Institute of Public Health and the Environment (RIVM), GGD Amsterdam, EPA for the greater Rotterdam area (DCMR), the Province of Limburg, EPA’s middle and western Brabant (OMWB) and EPA region Arnhem (ODRA). The website displays the measured air quality on several measuring stations in the Netherlands and the calculated air quality maps.

The map is available at:

This API grants direct access to detailed information of the stations and the measurements made there.

Release notes


Added Measurement and Organisation endpoints.

APRIL 2018

Initial version.

Getting Started

The API is available at the following address:

ggplot2 smooth | Examples | Plotly

How to add a smoothed line and fit to plots with stat_smooth and geom_smmoth in ggplot2 and R.

library(plotly) x <- rnorm(100) y <- + .7*x + rnorm(100) f1 <- as.factor(c(rep(“A”,50),rep(“B”,50))) f2 <- as.factor(rep(c(rep(“C”,25),rep(“D”,25)),2)) df <- data.frame(cbind(x,y)) df$f1 <- f1 df$f2 <- f2 ggplot(df,aes(x=x,y=y)) + geom_point() + facet_grid(f1~f2) + stat_smooth(method=“lm”) ggplotly()


Understanding AWS CloudFormation !Sub Syntax


This article aims to demonstrate some of the many uses of the Fn::Sub syntax in the AWS CloudFormation service. Topics include:

Basic Fn::Sub and !Sub syntax
Short and long form syntax
Nested Sub and ImportValue statements
About a year ago (Sept 2016, along with YAML support) AWS added a new intrinsic function to CloudFormation: Fn::Sub. This greatly improved string concatenation in CloudFormation.