{
  "_id": "6a1edaa6b401979e7340f616",
  "Package": "PxWebApiData",
  "Type": "Package",
  "Title": "PX-Web Data by API",
  "Version": "1.9.1",
  "Date": "2026-04-09",
  "Authors@R": "c(person(\"Øyvind\", \"Langsrud\", role = c(\"aut\", \"cre\"), email = \"oyl@ssb.no\"),\nperson(\"Jan\", \"Bruusgaard\", role = c(\"aut\")),\nperson(\"Solveig\", \"Bjørkholt\", role = c(\"ctb\")),\nperson(\"Susie\", \"Jentoft\", role = c(\"ctb\")),\nperson(\"Mads Fjeld\", \"Wold\", role = c(\"ctb\")))",
  "Maintainer": "Øyvind Langsrud <oyl@ssb.no>",
  "VignetteBuilder": "knitr",
  "Description": "Function to read PX-Web data into R via API. The example\ncode reads data from the three national statistical institutes,\nStatistics Norway, Statistics Sweden and Statistics Finland.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://statisticsnorway.github.io/ssb-pxwebapidata/,\nhttps://github.com/statisticsnorway/ssb-pxwebapidata",
  "BugReports": "https://github.com/statisticsnorway/ssb-pxwebapidata/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://statisticsnorway.r-universe.dev",
  "Date/Publication": "2026-04-20 07:29:32 UTC",
  "RemoteUrl": "https://github.com/statisticsnorway/ssb-pxwebapidata",
  "RemoteRef": "HEAD",
  "RemoteSha": "845faf25805ff2e4078a72731a84354065b64db4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 09:02:13 UTC",
    "User": "root"
  },
  "Author": "Øyvind Langsrud [aut, cre],\nJan Bruusgaard [aut],\nSolveig Bjørkholt [ctb],\nSusie Jentoft [ctb],\nMads Fjeld Wold [ctb]",
  "MD5sum": "7b9f4d8d36e3150b3c29e3a06d667a7b",
  "_user": "statisticsnorway",
  "_type": "src",
  "_file": "PxWebApiData_1.9.1.tar.gz",
  "_fileid": "b2b533cab0a60f982a0530324e2e9c31e5f6aa2987c1129a7c0b2f256f1dc606",
  "_filesize": 222497,
  "_sha256": "b2b533cab0a60f982a0530324e2e9c31e5f6aa2987c1129a7c0b2f256f1dc606",
  "_created": "2026-05-20T09:02:13.000Z",
  "_published": "2026-06-02T13:29:10.088Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79081894072,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7105739693"
    },
    {
      "job": 79081893726,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105735371"
    },
    {
      "job": 79081894053,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7105732534"
    },
    {
      "job": 79081893637,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105720467"
    },
    {
      "job": 79081893410,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105682455"
    },
    {
      "job": 79081892789,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7359041896"
    },
    {
      "job": 79081893400,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7105720745"
    },
    {
      "job": 79081893739,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7105720385"
    },
    {
      "job": 79081894244,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105720716"
    }
  ],
  "_buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/statisticsnorway/ssb-pxwebapidata",
  "_commit": {
    "id": "845faf25805ff2e4078a72731a84354065b64db4",
    "author": "Øyvind Langsrud <40028407+olangsrud@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #35 from statisticsnorway/warning-MAX_URL_CHARS-exceeded\n\nwarning when MAX_URL_CHARS exceeded",
    "time": 1776670172
  },
  "_maintainer": {
    "name": "Øyvind Langsrud",
    "email": "oyl@ssb.no",
    "login": "olangsrud",
    "description": "",
    "uuid": 40028407
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "rjstat",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "pxweb",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "statisticsnorway",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "olangsrud",
      "count": 179,
      "uuid": 40028407
    },
    {
      "user": "sjentoft",
      "count": 1,
      "uuid": 25348319
    }
  ],
  "_userbio": {
    "uuid": 5849578,
    "type": "organization",
    "name": "Statistics Norway"
  },
  "_downloads": {
    "count": 364,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PxWebApiData"
  },
  "_devurl": "https://github.com/statisticsnorway/ssb-pxwebapidata",
  "_pkgdown": "https://statisticsnorway.github.io/ssb-pxwebapidata/",
  "_searchresults": 127,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PxWebApiData.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/statisticsnorway/ssb-pxwebapidata",
  "_realowner": "statisticsnorway",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-06-06"
    },
    {
      "version": "0.2.0",
      "date": "2018-10-12"
    },
    {
      "version": "0.3.0",
      "date": "2019-04-11"
    },
    {
      "version": "0.4.0",
      "date": "2020-11-20"
    },
    {
      "version": "0.5.0",
      "date": "2021-03-05"
    },
    {
      "version": "0.6.0",
      "date": "2021-07-19"
    },
    {
      "version": "0.7.0",
      "date": "2021-10-11"
    },
    {
      "version": "0.8.0",
      "date": "2023-03-27"
    },
    {
      "version": "0.9.0",
      "date": "2024-01-29"
    },
    {
      "version": "1.0.0",
      "date": "2024-11-01"
    },
    {
      "version": "1.1.0",
      "date": "2025-10-08"
    },
    {
      "version": "1.1.1",
      "date": "2025-11-12"
    },
    {
      "version": "1.9.0",
      "date": "2026-02-02"
    }
  ],
  "_exports": [
    "api_data",
    "api_data_1",
    "api_data_12",
    "api_data_2",
    "ApiData",
    "ApiData1",
    "ApiData12",
    "ApiData2",
    "ensure_json_stat2",
    "get_api_data",
    "get_api_data_1",
    "get_api_data_12",
    "get_api_data_2",
    "GetApiData",
    "GetApiData1",
    "GetApiData12",
    "GetApiData2",
    "info",
    "list_records_to_df",
    "list_to_df_expand",
    "make_url",
    "MakeUrl",
    "meta_code_list",
    "meta_data",
    "meta_frames",
    "metadata_url",
    "note",
    "PxData",
    "PxData1",
    "PxData12",
    "PxData2",
    "pxwebData",
    "pxwebData1",
    "pxwebData12",
    "pxwebData2",
    "query_url"
  ],
  "_help": [
    {
      "page": "api_data",
      "title": "PX-Web Data by API",
      "topics": [
        "api_data",
        "api_data_1",
        "api_data_12",
        "api_data_2"
      ]
    },
    {
      "page": "ApiData",
      "title": "PX-Web Data by API",
      "topics": [
        "ApiData",
        "ApiData1",
        "ApiData12",
        "ApiData2",
        "GetApiData",
        "GetApiData1",
        "GetApiData12",
        "GetApiData2",
        "PxData",
        "PxData1",
        "PxData12",
        "PxData2",
        "pxwebData",
        "pxwebData1",
        "pxwebData12",
        "pxwebData2"
      ]
    },
    {
      "page": "get_api_data",
      "title": "PX-Web Data by API (GET)",
      "topics": [
        "get_api_data",
        "get_api_data_1",
        "get_api_data_12",
        "get_api_data_2"
      ]
    },
    {
      "page": "info",
      "title": "Extract info or note parts of the comment attribute",
      "topics": [
        "info",
        "note"
      ]
    },
    {
      "page": "list_records_to_df",
      "title": "Convert a list of records to a data.frame",
      "topics": [
        "list_records_to_df"
      ]
    },
    {
      "page": "list_to_df_expand",
      "title": "Create a data.frame from a structured list",
      "topics": [
        "list_to_df_expand"
      ]
    },
    {
      "page": "meta_code_list",
      "title": "PxWebApi v2 metadata for a code list",
      "topics": [
        "meta_code_list"
      ]
    },
    {
      "page": "meta_data",
      "title": "PxWebApi v2 metadata for a table",
      "topics": [
        "meta_data"
      ]
    },
    {
      "page": "meta_frames",
      "title": "Structured PxWebApi v2 metadata",
      "topics": [
        "meta_frames"
      ]
    },
    {
      "page": "query_url",
      "title": "PX-Web API query URL",
      "topics": [
        "query_url"
      ]
    }
  ],
  "_pkglogo": "https://github.com/statisticsnorway/ssb-pxwebapidata/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/statisticsnorway/ssb-pxwebapidata/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "checkmate",
    "curl",
    "httr",
    "jsonlite",
    "mime",
    "openssl",
    "pxweb",
    "R6",
    "rjstat",
    "sys"
  ],
  "_vignettes": [
    {
      "source": "Introduction.Rmd",
      "filename": "Introduction.html",
      "title": "Introduction to PxWebApiData",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2019-04-11 12:17:52",
      "modified": "2026-02-02 09:33:02",
      "commits": 11
    },
    {
      "source": "pxwebapi_v1.Rmd",
      "filename": "pxwebapi_v1.html",
      "title": "Using PxWebApi v1 with PxWebApiData",
      "author": "Øyvind Langsrud, Jan Bruusgaard, Solveig Bjørkholt and Susie Jentoft",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preface",
        "Specification by variable indices and  variable id's",
        "Specification by TRUE, FALSE and imaginary values (e.g. 3i).",
        "Show additional information",
        "Obtaining meta data",
        "Aggregations using filter agg:",
        "Return the API query as JSON",
        "PxWebApi 2 examples with GetApiData",
        "Eurostat data",
        "Practical example",
        "Background"
      ],
      "created": "2026-02-02 09:33:02",
      "modified": "2026-02-02 09:33:02",
      "commits": 1
    },
    {
      "source": "pxwebapi_v2.Rmd",
      "filename": "pxwebapi_v2.html",
      "title": "Using PxWebApi v2 with PxWebApiData",
      "author": "Øyvind Langsrud and Jan Bruusgaard",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preface",
        "get_api_data(): retrieve data from a pre-made URL",
        "query_url(): generate a URL from specifications",
        "api_data(): specify and retrieve data in one step",
        "Specification by codes, *, ?, and top(n)",
        "Specification using (default) indexing",
        "Specification using TRUE, FALSE, imaginary values (e.g. 3i), and labels",
        "Use default_query = TRUE to retrieve entire tables",
        "Show additional information",
        "Specification by list() for advanced queries",
        "Obtaining metadata",
        "meta_frames()",
        "meta_code_list()",
        "meta_data()",
        "Eurostat data",
        "Background"
      ],
      "created": "2026-02-02 09:33:02",
      "modified": "2026-02-02 09:33:02",
      "commits": 1
    }
  ],
  "_score": 6.580924975675619,
  "_indexed": true,
  "_nocasepkg": "pxwebapidata",
  "_universes": [
    "statisticsnorway",
    "olangsrud"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-05-20T09:04:30.000Z",
      "distro": "noble",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "79b580f31f5493f83cedb752a9add73c6252e0b9baf17ca77c5ddb590af2d3f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-05-20T09:04:28.000Z",
      "distro": "noble",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "2bd4475617a46ac33851c47c3e6cbf3ac289955e9f68b937dd341e455bf1f613",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-05-20T09:04:16.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "9b4de5e640c56ee9db490930bdae2e9fa099506665ec6758e8ddbe7003bc8eab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-05-20T09:03:43.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "8e57eb80c0f434889f00f9180fbd15bf09da13108ade2059daa02ac535c67791",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-20T09:03:35.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "8e226e940ae4984c17717f0715fe1ccb2a61742c60627f5c54d6f3d00a8f8d05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-20T09:03:34.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "c3c945c9df746da93db43e06a94f551570b7aea8f4561600c7f2afe3278eeef3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-20T09:03:37.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "a77d902289448a58925792ad69c4d2443eb02f00a1af6e8ddd8a2a7e72f8f4ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.9.1",
      "date": "2026-06-02T13:28:44.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "8868d1fcf1fcacbee9030e8842ab867fff864fe44185211057da247ab34cac84",
      "status": "success",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/26152324044"
    }
  ]
}