Facilitates extraction of geospatial data from the 'Office for National Statistics Open Geography' and 'nomis' Application Programming Interfaces (APIs). Simplifies process of querying 'nomis' datasets <https://www.nomisweb.co.uk/> and extracting desired datasets in dataframe format. Extracts area shapefiles at chosen resolution from 'Office for National Statistics Open Geography' <https://geoportal.statistics.gov.uk/>.
| Version: |
1.1.1 |
| Depends: |
R (≥ 3.6) |
| Imports: |
magrittr, sf, dplyr, httr, readr, xml2, methods |
| Suggests: |
testthat (≥ 3.0.0) |
| Published: |
2025-11-17 |
| DOI: |
10.32614/CRAN.package.sgapi |
| Author: |
Michael Stocks [aut, cre],
Andrew Christy [aut],
James Macpherson [aut],
Hadyn Jenkins [aut],
Crown Copyright (Department for Environment Food and Rural Affairs)
[cph] |
| Maintainer: |
Michael Stocks <sgapi.orhub at gmail.com> |
| BugReports: |
https://github.com/Defra-Data-Science-Centre-of-Excellence/sgApi/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://defra-data-science-centre-of-excellence.github.io/sgapi/,
https://github.com/Defra-Data-Science-Centre-of-Excellence/sgapi |
| NeedsCompilation: |
no |
| Materials: |
README |
| CRAN checks: |
sgapi results [issues need fixing before 2025-12-03] |