Working with Google's 'Public Data Explorer' DSPL Metadata Files

Provides a collection of functions to set up 'Google Public Data Explorer' <> data visualization tool with your own data, building automatically the corresponding DataSet Publishing Language file, or DSPL (XML), metadata file jointly with the CSV files. All zip-up and ready to be published in 'Public Data Explorer'.


Changes in version 0.16.1 (2017-11-06)

  • Correcting wrong example.

Changes in version 0.16.0 (2017-11-05)


  • MS Excel files are now read using readxl::read_excel.

Bug Fixes

  • Fixing XML parsing error: "XML parsing error... Cannot find the declaration of element 'dspl' with status "Fail".".

Changes in version


  • Taking googlePublicData back to CRAN (replacing email...).

  • Documentation updates. Mostly email and websites!

  • Changing Depends to Imports (nicer).

  • complying CRAN's new policies.

Changes in version 0.12.05


  • Adding new function (checkTimeFormat) that checks for propertly joda-time formats.

  • dspl function now identyfies which concept is geo:location checking if the reference table contains the columns latitude and longitude.

  • Now, when output is defined, instead of saving the results at a folder, dspl builds a ZIP file containing CSV and XML files.


  • More detailed documentation (including data sets documentation).

  • Most important change: The former 'extension' argument in 'dspl' and 'genMoreInfo' commands changed to 'sep'; more proper type of argument as it is passed to read.table. Now dspl ids the extension of tables using the 'sep' argument.

  • The encoding issue is definetly solved (on utf8).

  • Avoiding unnecessary warings while assigning geo:location attributes.

  • Fixing some bugs when checking for duplicated concepts

Changes in version 0.12.03


  • Including a manual of the function dspl


  • Development repository more ordered acording to R package building.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.16.1 by George Vega Yon, 3 years ago

Report a bug at

Browse source code at

Authors: George Vega Yon [aut, cre]

Documentation:   PDF Manual  

Task views:

MIT + file LICENSE license

Imports XML, utils, readxl

Suggests testthat, covr, googleVis

See at CRAN