{
  "_id": "6a58899aff0138dec5d74bbf",
  "Package": "sgapi",
  "Title": "Aid Querying 'nomis' and 'Office for National Statistics Open\nGeography' APIs",
  "Version": "1.1.0",
  "Authors@R": "c(\nperson(\"Michael\", \"Stocks\", email = \"sgapi.orhub@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Andrew\", \"Christy\", role = \"aut\"),\nperson(\"James\",\"Macpherson\", role = \"aut\"),\nperson(\"Hadyn\",\"Jenkins\", role = \"aut\" ),\nperson(\"Crown Copyright (Department for Environment Food and Rural Affairs)\", role =\"cph\"))",
  "Description": "Facilitates extraction of geospatial data from the 'Office\nfor National Statistics Open Geography' and 'nomis' Application\nProgramming Interfaces (APIs). Simplifies process of querying\n'nomis' datasets <https://www.nomisweb.co.uk/> and extracting\ndesired datasets in dataframe format. Extracts area shapefiles\nat chosen resolution from 'Office for National Statistics Open\nGeography' <https://geoportal.statistics.gov.uk/>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://defra-data-science-centre-of-excellence.github.io/sgapi/,\nhttps://github.com/Defra-Data-Science-Centre-of-Excellence/sgapi",
  "BugReports": "https://github.com/Defra-Data-Science-Centre-of-Excellence/sgApi/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibxml2-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev libx11-dev",
  "Repository": "https://defra-data-science-centre-of-excellence.r-universe.dev",
  "Date/Publication": "2025-05-09 13:21:58 UTC",
  "RemoteUrl": "https://github.com/defra-data-science-centre-of-excellence/sgapi",
  "RemoteRef": "HEAD",
  "RemoteSha": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-16 07:29:38 UTC",
    "User": "root"
  },
  "Author": "Michael Stocks [aut, cre],\nAndrew Christy [aut],\nJames Macpherson [aut],\nHadyn Jenkins [aut],\nCrown Copyright (Department for Environment Food and Rural Affairs)\n[cph]",
  "Maintainer": "Michael Stocks <sgapi.orhub@gmail.com>",
  "_user": "defra-data-science-centre-of-excellence",
  "_type": "src",
  "_file": "sgapi_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/51cdb3581516acbe1e10d1f3a990b2bfa5de8e37e48fe246fb3d4b44fe2837fe",
  "_filesize": 127333,
  "_sha256": "51cdb3581516acbe1e10d1f3a990b2bfa5de8e37e48fe246fb3d4b44fe2837fe",
  "_expires": "2026-10-24T07:34:48.000Z",
  "_created": "2026-07-16T07:29:38.000Z",
  "_published": "2026-07-16T07:34:50.295Z",
  "_jobs": [
    {
      "job": 87561711124,
      "time": 239,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8368204869"
    },
    {
      "job": 87561711065,
      "time": 221,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8368198539"
    },
    {
      "job": 87561711066,
      "time": 271,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8368202341"
    },
    {
      "job": 87561711093,
      "time": 253,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8368197180"
    },
    {
      "job": 87560997545,
      "time": 249,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8368113867"
    },
    {
      "job": 87561711060,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8368169021"
    },
    {
      "job": 87561711051,
      "time": 159,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8368174724"
    },
    {
      "job": 87561711097,
      "time": 158,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8368174453"
    },
    {
      "job": 87561711109,
      "time": 163,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8368176437"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911",
  "_status": "success",
  "_upstream": "https://github.com/defra-data-science-centre-of-excellence/sgapi",
  "_commit": {
    "id": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
    "author": "michael-stocks <michael.stocks@defra.gov.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #8 from Defra-Data-Science-Centre-of-Excellence/release-0.1.0\n\nRelease 0.1.0",
    "time": 1746796918
  },
  "_maintainer": {
    "name": "Michael Stocks",
    "email": "sgapi.orhub@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "defra-data-science-centre-of-excellence",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "andrew-christy-555",
      "count": 57,
      "uuid": 126087299
    },
    {
      "user": "michael-stocks",
      "count": 26,
      "uuid": 198898806
    },
    {
      "user": "andrewchristy-1",
      "count": 3,
      "uuid": 169888807
    },
    {
      "user": "jatherton4",
      "count": 2,
      "uuid": 82088648
    },
    {
      "user": "farahcol",
      "count": 1,
      "uuid": 186692411
    }
  ],
  "_userbio": {
    "uuid": 62751645,
    "type": "organization",
    "name": "Defra Data Science Centre of Excellence",
    "followers": 214
  },
  "_downloads": {
    "count": 200,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sgapi"
  },
  "_devurl": "https://github.com/defra-data-science-centre-of-excellence/sgapi",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sgapi.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/defra-data-science-centre-of-excellence/sgapi",
  "_realowner": "defra-data-science-centre-of-excellence",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-03-18"
    },
    {
      "version": "1.0.1",
      "date": "2024-03-20"
    },
    {
      "version": "1.0.2",
      "date": "2024-03-28"
    },
    {
      "version": "1.0.3",
      "date": "2025-01-17"
    },
    {
      "version": "1.1.0",
      "date": "2025-05-08"
    },
    {
      "version": "1.1.1",
      "date": "2025-11-18"
    },
    {
      "version": "1.1.2",
      "date": "2025-12-01"
    }
  ],
  "_exports": [
    "assert_function",
    "build_constituency_query_string",
    "build_url_query_string",
    "get_available_scales",
    "get_boundaries",
    "get_boundaries_areaname",
    "get_keyword_table_id",
    "get_ons_table",
    "get_overview",
    "get_structure",
    "get_table",
    "get_table_dimensions",
    "get_table_id",
    "get_table_info_brief",
    "get_table_link_lookup",
    "list_boundaries",
    "list_data_sources",
    "list_tables"
  ],
  "_datasets": [
    {
      "name": "availableBoundaries",
      "title": "",
      "object": "availableBoundaries",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "lookup",
      "title": "",
      "object": "lookup",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "ons",
        "nomis",
        "resolution",
        "Names_and_Code"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "nomisTables",
      "title": "",
      "object": "nomisTables",
      "class": [
        "data.frame"
      ],
      "fields": [
        "name",
        "id",
        "sourceName"
      ],
      "rows": 1610,
      "table": true,
      "tojson": true
    },
    {
      "name": "scalesForEachDataset",
      "title": "",
      "object": "scalesForEachDataset",
      "class": [
        "data.frame"
      ],
      "fields": [
        "name",
        "value",
        "table"
      ],
      "rows": 22775,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [],
  "_readme": "https://github.com/defra-data-science-centre-of-excellence/sgapi/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "class",
    "classInt",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "hms",
    "httr",
    "jsonlite",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "R6",
    "Rcpp",
    "readr",
    "rlang",
    "s2",
    "sf",
    "sys",
    "tibble",
    "tidyselect",
    "tzdb",
    "units",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "wk",
    "xml2"
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "sgapi",
  "_universes": [
    "defra-data-science-centre-of-excellence"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-07-16T07:32:28.000Z",
      "distro": "resolute",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/9edc480f9d3020e53cb7aee4ec284c3afa82cf1e2b24fe95087ea2212cd03659",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-07-16T07:32:19.000Z",
      "distro": "resolute",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/1245db7a937fe5a51a748dd633715011e84920b24fd8e22defd713b59ad55a60",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-07-16T07:31:40.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/bbab8500fb36232d14e8fa62485b711254dec155852c1d2ffbe6a849c63bc054",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-07-16T07:31:59.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/045a6b51daaa07dc003fb8ee75f1d7d0acc378dca65494f78d3f45eb9cf02bda",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-07-16T07:32:18.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/f0c31f501ac442bbc7f0935b1bfa7816fb64fd829c93380b2d6c9f1236d18e77",
      "status": "success",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-07-16T07:30:47.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/0e7a568e2383460cc09158ab32ec744b660bbfbe752448b8b91c0ad30cefe997",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-07-16T07:30:55.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/0d024bf7ac3ec581ef43087215fd357a40b1547f81ce6116524e41e1482bfbf5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-07-16T07:30:56.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/40e1ecf028f56722e9e861dd480bf8ae875f39fbd797493aed61550d2ea7a735",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/29479866911"
    }
  ]
}