{
  "_id": "6acdf332a14063b82c3ad639",
  "Package": "pixieweb",
  "Title": "Access PX-Web Statistical Data from R",
  "Version": "0.1.1.9002",
  "Authors@R": "person(\"Love\", \"Hansson\", , email = \"love.hansson@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "A pipe-friendly R client for PX-Web statistical APIs.\nProvides a search-then-fetch workflow for discovering and\ndownloading data from national statistics agencies (SCB, SSB,\nStatistics Finland, etc.) using a consistent tibble-based\ninterface.",
  "License": "AGPL (>= 3)",
  "URL": "https://lchansson.github.io/pixieweb/,\nhttps://github.com/lchansson/pixieweb",
  "BugReports": "https://github.com/lchansson/pixieweb/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://lchansson.r-universe.dev",
  "Date/Publication": "2026-04-16 12:11:14 UTC",
  "RemoteUrl": "https://github.com/lchansson/pixieweb",
  "RemoteRef": "HEAD",
  "RemoteSha": "99c46b1f23981d468e2a187005a5986ca786d129",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 08:44:10 UTC",
    "User": "root"
  },
  "Author": "Love Hansson [aut, cre, cph]",
  "Maintainer": "Love Hansson <love.hansson@gmail.com>",
  "_user": "lchansson",
  "_type": "src",
  "_file": "pixieweb_0.1.1.9002.tar.gz",
  "_fileid": "https://r2.ropensci.org/c5e0077a5e94b78d85bf033c29b521a251352df15a2ddbe5702eec1bdcd3a7f4",
  "_filesize": 398864,
  "_sha256": "c5e0077a5e94b78d85bf033c29b521a251352df15a2ddbe5702eec1bdcd3a7f4",
  "_expires": "2027-01-21T09:00:32.000Z",
  "_created": "2026-10-13T08:44:10.000Z",
  "_published": "2026-10-13T09:00:34.430Z",
  "_buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115208791257,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11799835170"
    },
    {
      "job": 115208791182,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11798864613"
    },
    {
      "job": 115208791078,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11799632597"
    },
    {
      "job": 115208791019,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11799452552"
    },
    {
      "job": 115207575477,
      "time": 186,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11798789741"
    },
    {
      "job": 115208791154,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11799112364"
    },
    {
      "job": 115208791127,
      "time": 136,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11799825402"
    },
    {
      "job": 115208791067,
      "time": 91,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11799635494"
    },
    {
      "job": 115208791165,
      "time": 94,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11799590376"
    }
  ],
  "_upstream": "https://github.com/lchansson/pixieweb",
  "_commit": {
    "id": "99c46b1f23981d468e2a187005a5986ca786d129",
    "author": "LCHansson <love.hansson@gmail.com>",
    "committer": "LCHansson <love.hansson@gmail.com>",
    "message": "[Dev] Extend cache handling. Explain wildcard behaviour for server-side search. Improved pagination handling. Add URLencode for non-ASCII characters.\n",
    "time": 1776341474
  },
  "_maintainer": {
    "name": "Love Hansson",
    "email": "love.hansson@gmail.com",
    "login": "lchansson",
    "description": "",
    "uuid": 2472298
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mirai",
      "role": "Suggests"
    },
    {
      "package": "nordstatExtras",
      "role": "Suggests"
    },
    {
      "package": "pxweb",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "lchansson",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 3
    },
    {
      "week": "2026-13",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 6
    },
    {
      "week": "2026-16",
      "n": 9
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lchansson",
      "count": 20,
      "uuid": 2472298
    }
  ],
  "_userbio": {
    "uuid": 2472298,
    "type": "user",
    "name": "Love Hansson",
    "followers": 17
  },
  "_downloads": {
    "count": 323,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pixieweb"
  },
  "_devurl": "https://github.com/lchansson/pixieweb",
  "_pkgdown": "https://lchansson.github.io/pixieweb/",
  "_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/NEWS.html",
    "extra/NEWS.txt",
    "extra/pixieweb.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/lchansson/pixieweb",
  "_realowner": "lchansson",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-26"
    }
  ],
  "_exports": [
    "codelist_describe",
    "codelist_extract_ids",
    "codelist_values",
    "compose_data_query",
    "compose_table_query",
    "data_comments",
    "data_legend",
    "data_minimize",
    "execute_query",
    "fetch_single_enriched",
    "get_codelists",
    "get_data",
    "get_saved_query",
    "get_tables",
    "get_variables",
    "pixieweb_cache_dir",
    "pixieweb_clear_cache",
    "prepare_query",
    "px_all",
    "px_api",
    "px_api_catalogue",
    "px_available",
    "px_bottom",
    "px_cite",
    "px_from",
    "px_range",
    "px_to",
    "px_top",
    "save_query",
    "table_describe",
    "table_enrich",
    "table_extract_ids",
    "table_minimize",
    "table_search",
    "variable_describe",
    "variable_extract_ids",
    "variable_minimize",
    "variable_name_to_code",
    "variable_search",
    "variable_values"
  ],
  "_help": [
    {
      "page": "codelist_describe",
      "title": "Print human-readable codelist summaries",
      "topics": [
        "codelist_describe"
      ]
    },
    {
      "page": "codelist_extract_ids",
      "title": "Extract codelist IDs",
      "topics": [
        "codelist_extract_ids"
      ]
    },
    {
      "page": "codelist_values",
      "title": "Extract values for a specific codelist",
      "topics": [
        "codelist_values"
      ]
    },
    {
      "page": "compose_data_query",
      "title": "Compose a data query",
      "topics": [
        "compose_data_query"
      ]
    },
    {
      "page": "compose_table_query",
      "title": "Compose a table query URL",
      "topics": [
        "compose_table_query"
      ]
    },
    {
      "page": "data_comments",
      "title": "Extract comments from data",
      "topics": [
        "data_comments"
      ]
    },
    {
      "page": "data_legend",
      "title": "Generate a source caption for plots",
      "topics": [
        "data_legend"
      ]
    },
    {
      "page": "data_minimize",
      "title": "Remove monotonous columns from a data tibble",
      "topics": [
        "data_minimize"
      ]
    },
    {
      "page": "execute_query",
      "title": "Execute a composed query",
      "topics": [
        "execute_query"
      ]
    },
    {
      "page": "get_codelists",
      "title": "Get codelists for a variable in a table",
      "topics": [
        "get_codelists"
      ]
    },
    {
      "page": "get_data",
      "title": "Fetch data from a PX-Web table",
      "topics": [
        "get_data"
      ]
    },
    {
      "page": "get_saved_query",
      "title": "Execute a saved query",
      "topics": [
        "get_saved_query"
      ]
    },
    {
      "page": "get_tables",
      "title": "Get tables from a PX-Web API",
      "topics": [
        "get_tables"
      ]
    },
    {
      "page": "get_variables",
      "title": "Get variables (dimensions) for a table",
      "topics": [
        "get_variables"
      ]
    },
    {
      "page": "pixieweb_cache_dir",
      "title": "Get the persistent pixieweb cache directory",
      "topics": [
        "pixieweb_cache_dir"
      ]
    },
    {
      "page": "pixieweb_clear_cache",
      "title": "Clear pixieweb cache files",
      "topics": [
        "pixieweb_clear_cache"
      ]
    },
    {
      "page": "prepare_query",
      "title": "Prepare a data query with smart defaults",
      "topics": [
        "prepare_query",
        "print.px_query"
      ]
    },
    {
      "page": "px_api",
      "title": "Connect to a PX-Web API",
      "topics": [
        "format.px_api",
        "print.px_api",
        "px_api"
      ]
    },
    {
      "page": "px_api_catalogue",
      "title": "List known PX-Web API instances",
      "topics": [
        "px_api_catalogue"
      ]
    },
    {
      "page": "px_available",
      "title": "Check if a PX-Web API is reachable",
      "topics": [
        "px_available"
      ]
    },
    {
      "page": "px_cite",
      "title": "Generate a citation for downloaded data",
      "topics": [
        "px_cite"
      ]
    },
    {
      "page": "px_selections",
      "title": "Create a PX-Web selection object",
      "topics": [
        "print.px_selection",
        "px_all",
        "px_bottom",
        "px_from",
        "px_range",
        "px_selections",
        "px_to",
        "px_top"
      ]
    },
    {
      "page": "save_query",
      "title": "Save a query on the server",
      "topics": [
        "save_query"
      ]
    },
    {
      "page": "table_describe",
      "title": "Print human-readable table summaries",
      "topics": [
        "table_describe"
      ]
    },
    {
      "page": "table_enrich",
      "title": "Enrich a table tibble with full metadata",
      "topics": [
        "table_enrich"
      ]
    },
    {
      "page": "table_extract_ids",
      "title": "Extract table IDs from a table tibble",
      "topics": [
        "table_extract_ids"
      ]
    },
    {
      "page": "table_minimize",
      "title": "Remove monotonous columns from a table tibble",
      "topics": [
        "table_minimize"
      ]
    },
    {
      "page": "table_search",
      "title": "Client-side search on a table tibble",
      "topics": [
        "table_search"
      ]
    },
    {
      "page": "variable_describe",
      "title": "Print human-readable variable summaries",
      "topics": [
        "variable_describe"
      ]
    },
    {
      "page": "variable_extract_ids",
      "title": "Extract variable codes from a variable tibble",
      "topics": [
        "variable_extract_ids"
      ]
    },
    {
      "page": "variable_minimize",
      "title": "Remove nested columns for a compact variable overview",
      "topics": [
        "variable_minimize"
      ]
    },
    {
      "page": "variable_name_to_code",
      "title": "Convert variable names to codes",
      "topics": [
        "variable_name_to_code"
      ]
    },
    {
      "page": "variable_search",
      "title": "Client-side search on a variable tibble",
      "topics": [
        "variable_search"
      ]
    },
    {
      "page": "variable_values",
      "title": "Extract values for a specific variable",
      "topics": [
        "variable_values"
      ]
    }
  ],
  "_readme": "https://github.com/lchansson/pixieweb/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "cpp11",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction-to-pixieweb.Rmd",
      "filename": "introduction-to-pixieweb.html",
      "title": "Introduction to pixieweb",
      "engine": "knitr::rmarkdown",
      "headings": [
        "PX-Web, a platform for national statistical databases",
        "The data model",
        "Connecting to an API",
        "Discovering tables: get_tables()",
        "Exploring variables: get_variables()",
        "Downloading data: get_data()",
        "Selection helpers",
        "Metadata-driven queries: prepare_query()",
        "Codelists",
        "Wide output and multiple content codes",
        "Visualising results",
        "Advanced: query composition",
        "Saved queries (v2 only)",
        "Citation",
        "Related packages"
      ],
      "created": "2026-03-23 07:38:29",
      "modified": "2026-04-13 15:12:26",
      "commits": 3
    },
    {
      "source": "a-quickstart.Rmd",
      "filename": "a-quickstart.html",
      "title": "Quick start guide to pixieweb",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Connect to an API",
        "2. Find a table",
        "3. Explore variables",
        "4. Get data",
        "5. Inspect and visualise results",
        "Next steps",
        "Related packages"
      ],
      "created": "2026-03-20 11:55:38",
      "modified": "2026-04-10 13:05:19",
      "commits": 4
    },
    {
      "source": "multi-api.Rmd",
      "filename": "multi-api.html",
      "title": "Working with multiple APIs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Available APIs",
        "Connecting to multiple agencies",
        "API version differences",
        "Cross-country comparison example",
        "Combining results",
        "Tips for cross-agency work",
        "Next steps",
        "Related packages"
      ],
      "created": "2026-03-20 11:55:38",
      "modified": "2026-04-10 13:05:19",
      "commits": 4
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "pixieweb",
  "_universes": [
    "lchansson"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9002",
      "date": "2026-10-13T08:46:13.000Z",
      "distro": "resolute",
      "commit": "99c46b1f23981d468e2a187005a5986ca786d129",
      "fileid": "https://r2.ropensci.org/1261632bd51c34c5a590b9616cc900391612a8b0e42f0b3174a19ce8072890f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1.9002",
      "date": "2026-10-13T08:46:12.000Z",
      "distro": "resolute",
      "commit": "99c46b1f23981d468e2a187005a5986ca786d129",
      "fileid": "https://r2.ropensci.org/0512e205deec432128990afd53a89a110f226f3c6994631b185a67aa89f70fe3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9002",
      "date": "2026-10-13T08:59:41.000Z",
      "commit": "99c46b1f23981d468e2a187005a5986ca786d129",
      "fileid": "https://r2.ropensci.org/93d065d4c56e7ae8f418c760f22e695d649fe2e506bcf1a421e43883bc4eded7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1.9002",
      "date": "2026-10-13T08:55:39.000Z",
      "commit": "99c46b1f23981d468e2a187005a5986ca786d129",
      "fileid": "https://r2.ropensci.org/946f10a07cf93dce69e715290046264f2697efbe300f8b41cff76cba61a32ef1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9002",
      "date": "2026-10-13T08:46:03.000Z",
      "commit": "99c46b1f23981d468e2a187005a5986ca786d129",
      "fileid": "https://r2.ropensci.org/a55fa19d8467e0e6240d4957d99820b03abeeffe05d5c1823c58ba3fb18826bd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9002",
      "date": "2026-10-13T08:46:04.000Z",
      "commit": "99c46b1f23981d468e2a187005a5986ca786d129",
      "fileid": "https://r2.ropensci.org/f5329209101f6c18dd98ef87b5b86f7e54a51f18d77f60898246b4406f16d78d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9002",
      "date": "2026-10-13T08:45:23.000Z",
      "commit": "99c46b1f23981d468e2a187005a5986ca786d129",
      "fileid": "https://r2.ropensci.org/c9281db6b7d51f3f4742cacd548b77e2a7a4631e2a8b331cade0fa97a2b8a597",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1.9002",
      "date": "2026-10-13T08:45:41.000Z",
      "commit": "99c46b1f23981d468e2a187005a5986ca786d129",
      "fileid": "https://r2.ropensci.org/27e0de9c58064d20a46723f69124055dfa278cb1bc485ab1d0f92818932ea730",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lchansson/actions/runs/38370926234"
    }
  ]
}