Description Usage Arguments Details Value Note References
Retrieve label mutations
1 |
date |
a Date object |
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:
retrieve all existing labels at the beginning of the month or
retrieve the mutations (i.e. changes, updates, etc.) on a given date.
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.
An object of class xml_document
which you can pass to
epbd_extractLabelMutations
to convert to a data frame.
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.
The registry can be accessed online at http://www.ep-online.nl/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.