epbd_getLabelMutations: Retrieve label mutations

Description Usage Arguments Details Value Note References

Description

Retrieve label mutations

Usage

1

Arguments

date

a Date object

Details

The registry with ‘energieprestatielabels’ uses a webservice based on the SOAP protocol. There are two types of queries which you can send to the webservice:

This function implements the second query: retrieve all changes on a given date.

Unfortunately, the webservice doesn't actually return an XML document with the mutations, it returns an XML document with only a link to the (zipped) XML document on the server. So this function first queries the webservice to retrieve the URL to the archive, then downloads and extracts the archive, and finally reads the contents into an xml_document object.

Value

An object of class xml_document which you can pass to epbd_extractLabelMutations to convert to a data frame.

Note

The webservice only provides access to the information for the current month. In other words: it is not possible to retrieve mutations in other months except for the current.

References

The registry can be accessed online at http://www.ep-online.nl/.


bedatadriven/econometer documentation built on May 12, 2019, 10:03 a.m.