The sgapi package provides a simple wrapper around the nomis and Open Geography Portal APIs, aiding geospatial analysis of the population, labour market, and social measures. Simplifies process of querying nomis datasets and extracting area shapefiles at chosen resolution from ONS Open Geography.
The authors thank ONS for their work in maintaining both NOMIS and Open Geography Portal, without them this work would not be possible.
More information on theses sources can be found here:
Users must abide by the licensing agreements when publishing information extracted from these ONS sources, for more copyright information, see the copyright section.
install.packages("sgapi")
install.packages("remotes")
remotes::install_github("https://github.com/Defra-Data-Science-Centre-of-Excellence/sgapi")
Terms and conditions of supply Digital boundary products and reference maps are supplied under the Open Government Licence. You must use the following copyright statements when you reproduce or use this material:
Source: Office for National Statistics licensed under the Open Government Licence v.3.0 Contains OS data © Crown copyright and database right [year]
All material on the Office for National Statistics (ONS) and Nomis websites is subject to Crown Copyright protection unless otherwise indicated.
Source: Office for National Statistics
For more information on the Open Government Licence, see the open government license