{
  "_id": "6a5c71409baadeef8ab500bc",
  "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-07-19 06:36:45 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_1.9.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/641cd4baa1997aefab7567072984286cdfab9495581ba12420c040d2a3266d9e",
  "_filesize": 222155,
  "_sha256": "641cd4baa1997aefab7567072984286cdfab9495581ba12420c040d2a3266d9e",
  "_expires": "2026-10-27T06:39:58.000Z",
  "_created": "2026-07-19T06:36:45.000Z",
  "_published": "2026-07-19T06:40:00.113Z",
  "_jobs": [
    {
      "job": 88165375529,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8439149390"
    },
    {
      "job": 88165375545,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8439150155"
    },
    {
      "job": 88165375527,
      "time": 139,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8439148486"
    },
    {
      "job": 88165375543,
      "time": 95,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8439142387"
    },
    {
      "job": 88165103905,
      "time": 230,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8439128494"
    },
    {
      "job": 88165375526,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8439145848"
    },
    {
      "job": 88165375544,
      "time": 94,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8439142205"
    },
    {
      "job": 88165375534,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8439141579"
    },
    {
      "job": 88165375547,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8439141849"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 316
  },
  "_downloads": {
    "count": 409,
    "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": 128,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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.5843312243675305,
  "_indexed": true,
  "_nocasepkg": "pxwebapidata",
  "_universes": [
    "statisticsnorway",
    "olangsrud"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-07-19T06:38:55.000Z",
      "distro": "resolute",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "https://r2.ropensci.org/1c095ea68be12dba0b81553d75a3f9515e25bf2982b51466813666f7219c3acd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-07-19T06:38:58.000Z",
      "distro": "resolute",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "https://r2.ropensci.org/8a66dbc64aa311a4a35dfebe2b2c8064a5adcc7a0f9729d6cc1f59d5f9fa49ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-07-19T06:38:50.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "https://r2.ropensci.org/77ca97ee5d85ff470660ed0d3d7ce2aa8ae874253725e38893dd73e597b99430",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-07-19T06:38:14.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "https://r2.ropensci.org/a34c7c1a393b7853fb188080335ea2fd7d7b4bab5638804f7cab821e6f8e8c11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.9.1",
      "date": "2026-07-19T06:39:05.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "https://r2.ropensci.org/63335382f3f8a8d15f49d317d75d57d92d68083ed2e3cbb736d05a553b65360a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-07-19T06:38:00.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "https://r2.ropensci.org/d68ad018a920eef7a55765170616fae27bdcd67b527806ed9deca840b35bde56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-07-19T06:37:53.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "https://r2.ropensci.org/501fa2cc7a12240bbb74be2eb8a676a53126d34184e07f0b674def94475996dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-07-19T06:37:49.000Z",
      "commit": "845faf25805ff2e4078a72731a84354065b64db4",
      "fileid": "https://r2.ropensci.org/8a72e67f554c22b1b9ca6ca5afa1c6bebd337eabba28a0a30bf8930718232179",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29676617047"
    }
  ]
}