{
  "_id": "6af47032be2268deb4a3bce9",
  "Package": "PxWebApiData",
  "Type": "Package",
  "Title": "PX-Web Data by API",
  "Version": "2.0.0",
  "Date": "2026-09-08",
  "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)",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://statisticsnorway.r-universe.dev",
  "Date/Publication": "2026-09-09 15:38:58 UTC",
  "RemoteUrl": "https://github.com/statisticsnorway/ssb-pxwebapidata",
  "RemoteRef": "HEAD",
  "RemoteSha": "9da70f4a03efe59088e930a41929ec5c9474293d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-11 13:35:41 UTC",
    "User": "root"
  },
  "Author": "Øyvind Langsrud [aut, cre],\nJan Bruusgaard [aut],\nSolveig Bjørkholt [ctb],\nSusie Jentoft [ctb],\nMads Fjeld Wold [ctb]",
  "_user": "statisticsnorway",
  "_type": "src",
  "_file": "PxWebApiData_2.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7b9645f6557285f229dbdd6b21f6aa35ee41d8c9ae1cfad0114ce04dfa85501d",
  "_filesize": 222569,
  "_sha256": "7b9645f6557285f229dbdd6b21f6aa35ee41d8c9ae1cfad0114ce04dfa85501d",
  "_expires": "2027-02-19T13:40:00.000Z",
  "_created": "2026-11-11T13:35:41.000Z",
  "_published": "2026-11-11T13:40:01.859Z",
  "_upstream": "https://github.com/statisticsnorway/ssb-pxwebapidata",
  "_status": "success",
  "_maintainer": {
    "name": "Øyvind Langsrud",
    "email": "oyl@ssb.no",
    "login": "olangsrud",
    "description": "",
    "uuid": 40028407
  },
  "_jobs": [
    {
      "job": 130556251823,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13859409208"
    },
    {
      "job": 130556251811,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13860762693"
    },
    {
      "job": 130556251822,
      "time": 128,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13860348300"
    },
    {
      "job": 130556251853,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13860613655"
    },
    {
      "job": 130554484744,
      "time": 203,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13860552501"
    },
    {
      "job": 130556251817,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13860093708"
    },
    {
      "job": 130556252009,
      "time": 201,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13860487910"
    },
    {
      "job": 130556251842,
      "time": 182,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13860163379"
    },
    {
      "job": 130556251844,
      "time": 224,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13860318683"
    }
  ],
  "_buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836",
  "_commit": {
    "id": "9da70f4a03efe59088e930a41929ec5c9474293d",
    "author": "Øyvind Langsrud <40028407+olangsrud@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #36 from statisticsnorway/dev_oyl\n\nCRAN Version 2.0.0",
    "time": 1788968338
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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-46",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "olangsrud",
      "count": 182,
      "uuid": 40028407
    },
    {
      "user": "sjentoft",
      "count": 1,
      "uuid": 25348319
    }
  ],
  "_userbio": {
    "uuid": 5849578,
    "type": "organization",
    "name": "Statistics Norway",
    "followers": 339
  },
  "_downloads": {
    "count": 576,
    "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": 123,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PxWebApiData.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "2.0.0",
      "date": "2026-09-09"
    }
  ],
  "_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.567026366159061,
  "_indexed": true,
  "_nocasepkg": "pxwebapidata",
  "_universes": [
    "statisticsnorway",
    "olangsrud"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-11-11T13:37:39.000Z",
      "distro": "resolute",
      "commit": "9da70f4a03efe59088e930a41929ec5c9474293d",
      "fileid": "https://r2.ropensci.org/b0419c5827797c2ab48ea87fd0a4a0fb2db078b34ef19bf0fa142684382a4965",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-11-11T13:37:35.000Z",
      "distro": "resolute",
      "commit": "9da70f4a03efe59088e930a41929ec5c9474293d",
      "fileid": "https://r2.ropensci.org/3c6ace2412f369311f679b5481fd78e2c04750a2569e72e25a722f0ff42b13b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-11-11T13:37:18.000Z",
      "commit": "9da70f4a03efe59088e930a41929ec5c9474293d",
      "fileid": "https://r2.ropensci.org/013eca1b28131b7c42220d6c8d0fbe4309b80656dca5a2394f807a565b746ca8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-11-11T13:37:33.000Z",
      "commit": "9da70f4a03efe59088e930a41929ec5c9474293d",
      "fileid": "https://r2.ropensci.org/527b35a0df5c8b89aca848bbe2b1e0aebe69f1aa9fabf1f3b416b9ad9ff9001a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-11-11T13:37:27.000Z",
      "commit": "9da70f4a03efe59088e930a41929ec5c9474293d",
      "fileid": "https://r2.ropensci.org/961dd49cae1c8331e395d72098375327002ddf3c7c259d84f15bfcc061c1411d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-11T13:37:48.000Z",
      "commit": "9da70f4a03efe59088e930a41929ec5c9474293d",
      "fileid": "https://r2.ropensci.org/876974c8e49aa95d97d2e93659c3abf704484e50a990f9abeb060558524fef3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-11T13:37:18.000Z",
      "commit": "9da70f4a03efe59088e930a41929ec5c9474293d",
      "fileid": "https://r2.ropensci.org/bb862235b04be1f329715b4b242dab77eda5a278fbbd8aad80c745439b87c57c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-11T13:38:01.000Z",
      "commit": "9da70f4a03efe59088e930a41929ec5c9474293d",
      "fileid": "https://r2.ropensci.org/1b11095611397ca9dd922e88723c6005daccacaf775b22e3b33327a442958fdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/43030011836"
    }
  ]
}