Eurostat CSV to JSON

Eurostat is great source for open statistical data. Open access to such resource provides students, teachers and ordinary people to analyse and visualise different datasets thus provida arguments and sometimes arrive to fundamental conclusions.

Among the data formats provided from Eurostat are CSV, XML, TSV, HTML, PDF and others. There is also JSON REST API. More information about the API is available here: http://ec.europa.eu/eurostat/web/json-and-unicode-web-services/getting-started/rest-request however this API is not very well documented and it might be difficult to specify the correct filter to extract a given dataset.

The number of requests for graphing and mapping different datasets led to the development of this simple interface which converts a filtered CSV extract of a dataset into a JSON object.

Using the form below you can convert single CSV into JSON:
[insert_php]
$path = $_SERVER[‘DOCUMENT_ROOT’];
$path .= “/eustat/index.php”;
include $path;
[/insert_php]

Categories