{
  "_id": "6acf3b53d9de2f3f33fc95dc",
  "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-10-14 07:54:52 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/72384b855ce699a5d5b768d5714d9ec147e54952ff233e342ad99236932a5fcc",
  "_filesize": 127384,
  "_sha256": "72384b855ce699a5d5b768d5714d9ec147e54952ff233e342ad99236932a5fcc",
  "_expires": "2027-01-22T08:20:33.000Z",
  "_created": "2026-10-14T07:54:52.000Z",
  "_published": "2026-10-14T08:20:34.919Z",
  "_buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115744291071,
      "time": 230,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11877873228"
    },
    {
      "job": 115744291077,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11878088603"
    },
    {
      "job": 115744291178,
      "time": 313,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11879970704"
    },
    {
      "job": 115744291141,
      "time": 261,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11877799883"
    },
    {
      "job": 115743202602,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11877508367"
    },
    {
      "job": 115744291002,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11878611402"
    },
    {
      "job": 115744291265,
      "time": 162,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11878636524"
    },
    {
      "job": 115744291234,
      "time": 159,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11877683330"
    },
    {
      "job": 115744291185,
      "time": 155,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11878312405"
    }
  ],
  "_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": 259
  },
  "_downloads": {
    "count": 234,
    "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/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sgapi.html",
    "LICENSE"
  ],
  "_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",
    "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-10-14T07:57:24.000Z",
      "distro": "resolute",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/85b5be2a60b3460983dcddbe03111a7a7924dcdb0b0f2f9f304eba10b3904970",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-14T07:57:07.000Z",
      "distro": "resolute",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/1f692377b8d8b373f2167e63be686af19b6ca437dcc2ca2d6aa1da46fb992eff",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-14T08:17:42.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/5175664defb7c0d4e4bbfe147a87e9b71001f379a71d8755f12f3a1f7868e377",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-14T08:07:07.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/5f8b0dbde98cde35aad4ebd72d4165529e4c488a99a19f8748893dc818858e6b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-14T07:57:19.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/f8b5e1242c66ad42b824e76db11bb970543dbfa9021c4e0d6c1e0518a295166d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-14T07:56:06.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/90218090c1dd641bcc27737f9e94225e48540b7fcaec0900b0aae843ca4ec274",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-14T07:56:18.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/177411e286da8985b7f42085203ebec7ebd5e4ec9c6f1bdfb6df3c2957f40bff",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-14T07:56:07.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "https://r2.ropensci.org/8558c0e384b68d000e2bd11596f10f34b1b86ec64a4be203d8cfd85bef77b73f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/38531139974"
    }
  ]
}