Labs Home Page

Test of Scottish Neighbourhood Statistics data in a BaseX native XML Database

This test service is a short-term deployment and not meant for any use other than testing.
A Scottish Neighbourhood Statistics data snapshot taken from http://www.sns.gov.uk is stored in BaseX 7.6. Datasets are accessible through RESTful URLs using the RESTXQ XQuery 3.0 annotations.
Examples of use are as follows:

Metadata for each indicator is available using URLs like http://labs.data.scotland.gov.uk/sns/data/code/CS-PC_1yrto2yr

Note that the MIME type is not set to XML but to text. Using URLs like the ones shown above data can be imported directly into Excel, SAS, R and other analysis packages. Also, there is not yet any caching.