JSON-LD from the Scottish Government statistics office @ScotStat@twitter.com using the Data Cube vocab (based on SDMX). Cross-origin requests are enabled, so live data can be used on the Web (read: Mastodon).
https://statistics.gov.scot/data/scottish-health-survey-local-area-level-data
curl -H 'accept: application/ld+json' https://statistics.gov.scot/data/scottish-health-survey-local-area-level-data
fetch('https://statistics.gov.scot/data/scottish-health-survey-local-area-level-data', {headers: {'accept': 'application/ld+json'}}).then((res) => res.json()).then((json) => {console.log(json);})
#sdmx #datacube #statistics #jsonld #semanticweb #scotland #uk
#sdmx #datacube #statistics #jsonld #semanticweb #scotland #uk
If you need to access statistical data from international organisations and you are into R, Matlab, etc... I very much recommend giving https://github.com/amattioc/SDMX