{
  "_id": "6a1f143eb401979e7341e231",
  "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-05-17 07:04:04 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>",
  "MD5sum": "b804077482882fac0723c11ef527d64b",
  "_user": "defra-data-science-centre-of-excellence",
  "_type": "src",
  "_file": "sgapi_1.1.0.tar.gz",
  "_fileid": "8c365562e5925e86295d2e6cca62c5d8c44552055c96b5af3ce6a74ae5f1b6ca",
  "_filesize": 127148,
  "_sha256": "8c365562e5925e86295d2e6cca62c5d8c44552055c96b5af3ce6a74ae5f1b6ca",
  "_created": "2026-05-17T07:04:04.000Z",
  "_published": "2026-06-02T17:34:54.399Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79133124655,
      "time": 196,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7040272748"
    },
    {
      "job": 79133124729,
      "time": 189,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7040271980"
    },
    {
      "job": 79133124702,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7040271372"
    },
    {
      "job": 79133123944,
      "time": 232,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7040272911"
    },
    {
      "job": 79133123691,
      "time": 167,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040246682"
    },
    {
      "job": 79133123541,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365251260"
    },
    {
      "job": 79133124758,
      "time": 166,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7040268726"
    },
    {
      "job": 79133125303,
      "time": 164,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7040268342"
    },
    {
      "job": 79133124872,
      "time": 141,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7040265260"
    }
  ],
  "_buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 182,
    "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.0",
  "_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",
    "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-05-17T07:06:05.000Z",
      "distro": "noble",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "79c3596236a8b8462854e032c5f58eb80aceac8b6157e0dda461a6e568eee6bf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-17T07:06:16.000Z",
      "distro": "noble",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "d96d272c291b4eacf83071be64726c06a0cc25a4fdf7503e8f7a56085e6ae804",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-17T07:06:03.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "775ececcbe129075ae374d117deb9807e5f237df078e06e23533b6b048d88d16",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-17T07:06:02.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "77d7c73e87f2e38d265693a9edcb5393e1725b2776ffc7519d36c5cb690bc3fb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-17T07:05:25.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "00fbf6d954aab5d7af7ea4219ced539a129ce547e823e5c80fcec8ef0e5e4adb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-17T07:05:18.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "e0ce115aa9f1a51f4099fb64b894a00160ec07b5e0a81622990b54ce2cd4ba4a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-17T07:05:18.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "267f37920019aaf374859e10fe4c7aa430b9b78760c626320932f0fe5e0676f1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-02T17:34:35.000Z",
      "commit": "361cc166cd31eee5db2cd34f22e14417ce3568b1",
      "fileid": "726ea89877faab6fd361fd5c879b6d53431b2807de98cd7c3ef5ef4bb3e0577d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/defra-data-science-centre-of-excellence/actions/runs/25984120197"
    }
  ]
}