{
  "_id": "6a22779acd65a98ecbd4beec",
  "Package": "BFS",
  "Type": "Package",
  "Title": "Get Data from the Swiss Federal Statistical Office",
  "Version": "0.7.1",
  "Authors@R": "c(person(given = \"Felix\",\nfamily = \"Luginbuhl\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"felix.luginbuhl@protonmail.ch\",\ncomment = c(ORCID = \"0009-0008-6625-2899\")),\nperson(given = \"Marius\",\nfamily = \"Hodel\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0001-8789-506X\")),\nperson(given = \"Janosch\",\nfamily = \"Brenzel-Weiss\",\nrole = \"ctb\"),\nperson(given = \"Joao\",\nfamily = \"Martins\",\nrole = \"ctb\"),\nperson(given = \"Philipp\",\nfamily = \"Baumann\",\nrole = \"ctb\",\nemail = \"baumann-philipp@protonmail.com\",\ncomment = c(ORCID = \"0000-0002-3194-8975\")))",
  "Maintainer": "Felix Luginbuhl <felix.luginbuhl@protonmail.ch>",
  "Description": "Search and download data from the Swiss Federal\nStatistical Office (BFS) APIs <https://www.bfs.admin.ch/>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "URL": "https://felixluginbuhl.com/BFS/, https://github.com/lgnbhl/BFS/",
  "BugReports": "https://github.com/lgnbhl/BFS/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev",
  "Repository": "https://swissstatsr.r-universe.dev",
  "Date/Publication": "2026-02-05 16:12:41 UTC",
  "RemoteUrl": "https://github.com/lgnbhl/BFS",
  "RemoteRef": "HEAD",
  "RemoteSha": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 07:08:08 UTC",
    "User": "root"
  },
  "Author": "Felix Luginbuhl [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0008-6625-2899>),\nMarius Hodel [ctb] (ORCID: <https://orcid.org/0000-0001-8789-506X>),\nJanosch Brenzel-Weiss [ctb],\nJoao Martins [ctb],\nPhilipp Baumann [ctb] (ORCID: <https://orcid.org/0000-0002-3194-8975>)",
  "MD5sum": "faae6c15c760bbdb84e41ff1bbf15c11",
  "_user": "swissstatsr",
  "_type": "src",
  "_file": "BFS_0.7.1.tar.gz",
  "_fileid": "076e2622ed8b26251d26361700c9282e2e11d867d6feffc0a13be97c39f38145",
  "_filesize": 1125978,
  "_sha256": "076e2622ed8b26251d26361700c9282e2e11d867d6feffc0a13be97c39f38145",
  "_created": "2026-06-05T07:08:08.000Z",
  "_published": "2026-06-05T07:15:38.314Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79680829399,
      "time": 417,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7430907636"
    },
    {
      "job": 79680829403,
      "time": 396,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430902586"
    },
    {
      "job": 79680829443,
      "time": 376,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430896848"
    },
    {
      "job": 79680829395,
      "time": 384,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7430898886"
    },
    {
      "job": 79680482615,
      "time": 167,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430799040"
    },
    {
      "job": 79680829454,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430827523"
    },
    {
      "job": 79680829412,
      "time": 418,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430907788"
    },
    {
      "job": 79680829404,
      "time": 390,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7430900874"
    },
    {
      "job": 79680829423,
      "time": 398,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430902708"
    }
  ],
  "_buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lgnbhl/BFS",
  "_commit": {
    "id": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
    "author": "lgnbhl <felix.luginbuhl@protonmail.ch>",
    "committer": "lgnbhl <felix.luginbuhl@protonmail.ch>",
    "message": "docs: :memo: update NEWS for version 0.7.1\n",
    "time": 1770307961
  },
  "_maintainer": {
    "name": "Felix Luginbuhl",
    "email": "felix.luginbuhl@protonmail.ch",
    "login": "lgnbhl",
    "description": "Full-stack R developer",
    "uuid": 29467632
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4",
      "role": "Depends"
    },
    {
      "package": "pxweb",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "rvest",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "zip",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "rstac",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    }
  ],
  "_owner": "lgnbhl",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 7
    },
    {
      "week": "2025-38",
      "n": 3
    },
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 4
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "switzerland"
  ],
  "_stars": 24,
  "_contributors": [
    {
      "user": "lgnbhl",
      "count": 367,
      "uuid": 29467632
    },
    {
      "user": "madelhorius",
      "count": 9,
      "uuid": 45639496
    },
    {
      "user": "gf-fluginbuhl",
      "count": 5,
      "uuid": 67467403
    },
    {
      "user": "felixanalytix",
      "count": 4,
      "uuid": 93553983
    },
    {
      "user": "j-martins",
      "count": 4,
      "uuid": 5850800
    },
    {
      "user": "raphbub-vs",
      "count": 1,
      "uuid": 146056116
    },
    {
      "user": "sschmutz",
      "count": 1,
      "uuid": 25775000
    }
  ],
  "_userbio": {
    "uuid": 156070198,
    "type": "organization",
    "name": "Swiss Stats R",
    "description": "Swiss Stats R"
  },
  "_downloads": {
    "count": 478,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BFS"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/lgnbhl/bfs",
  "_pkgdown": "https://felixluginbuhl.com/BFS/",
  "_searchresults": 42,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BFS.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lgnbhl/bfs",
  "_realowner": "lgnbhl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2019-10-16"
    },
    {
      "version": "0.2.2",
      "date": "2019-10-21"
    },
    {
      "version": "0.2.4",
      "date": "2020-03-16"
    },
    {
      "version": "0.2.5",
      "date": "2020-03-25"
    },
    {
      "version": "0.3.0",
      "date": "2021-03-23"
    },
    {
      "version": "0.3.1",
      "date": "2021-05-10"
    },
    {
      "version": "0.4.0",
      "date": "2021-10-06"
    },
    {
      "version": "0.4.1",
      "date": "2021-10-09"
    },
    {
      "version": "0.4.3",
      "date": "2022-09-07"
    },
    {
      "version": "0.4.4",
      "date": "2022-12-14"
    },
    {
      "version": "0.4.5",
      "date": "2023-02-27"
    },
    {
      "version": "0.4.6",
      "date": "2023-03-30"
    },
    {
      "version": "0.4.7",
      "date": "2023-05-19"
    },
    {
      "version": "0.4.8",
      "date": "2023-05-31"
    },
    {
      "version": "0.5",
      "date": "2023-06-08"
    },
    {
      "version": "0.5.1",
      "date": "2023-06-09"
    },
    {
      "version": "0.5.2",
      "date": "2023-08-11"
    },
    {
      "version": "0.5.3",
      "date": "2023-08-19"
    },
    {
      "version": "0.5.4",
      "date": "2023-09-13"
    },
    {
      "version": "0.5.5",
      "date": "2023-09-20"
    },
    {
      "version": "0.5.6",
      "date": "2024-01-08"
    },
    {
      "version": "0.5.7",
      "date": "2024-02-02"
    },
    {
      "version": "0.5.8",
      "date": "2024-02-24"
    },
    {
      "version": "0.5.9",
      "date": "2024-09-26"
    },
    {
      "version": "0.5.10",
      "date": "2024-09-27"
    },
    {
      "version": "0.5.11",
      "date": "2024-11-27"
    },
    {
      "version": "0.5.12",
      "date": "2024-12-09"
    },
    {
      "version": "0.5.13",
      "date": "2025-04-29"
    },
    {
      "version": "0.6.0",
      "date": "2025-06-09"
    },
    {
      "version": "0.7.0",
      "date": "2025-11-03"
    },
    {
      "version": "0.7.1",
      "date": "2026-02-05"
    }
  ],
  "_exports": [
    "%>%",
    "bfs_download_asset",
    "bfs_download_geodata",
    "bfs_get_asset_metadata",
    "bfs_get_base_maps",
    "bfs_get_catalog",
    "bfs_get_catalog_data",
    "bfs_get_catalog_geodata",
    "bfs_get_catalog_tables",
    "bfs_get_data",
    "bfs_get_data_comments",
    "bfs_get_metadata",
    "bfs_get_sse_data",
    "bfs_get_sse_metadata"
  ],
  "_datasets": [
    {
      "name": "register_bzn",
      "title": "Swiss official commune register BZN",
      "object": "register_bzn",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "GDEKT",
        "GDEBZNR",
        "GDEBZNA"
      ],
      "rows": 143,
      "table": true,
      "tojson": true
    },
    {
      "name": "register_dic",
      "title": "Swiss official commune register Dictionary",
      "object": "register_dic",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "language",
        "abbreviation",
        "title",
        "spec",
        "notes"
      ],
      "rows": 27,
      "table": true,
      "tojson": true
    },
    {
      "name": "register_gde",
      "title": "Swiss official commune register GDE",
      "object": "register_gde",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "GDEKT",
        "GDEBZNR",
        "GDENR",
        "GDENAME",
        "GDENAMK",
        "GDEBZNA",
        "GDEKTNA",
        "GDEMUTDAT"
      ],
      "rows": 2136,
      "table": true,
      "tojson": true
    },
    {
      "name": "register_gde_other",
      "title": "Swiss official commune register GDE Other",
      "object": "register_gde_other",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "GDENR",
        "GDENAME",
        "KTNR",
        "GDEBZNR"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "register_kt",
      "title": "Swiss official commune register KT",
      "object": "register_kt",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "KTNR",
        "GDEKT",
        "GDEKTNA"
      ],
      "rows": 26,
      "table": true,
      "tojson": true
    },
    {
      "name": "register_kt_seeanteile",
      "title": "Swiss official commune register KT Seeanteile",
      "object": "register_kt_seeanteile",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "GDENR",
        "GDENAME",
        "KTNR"
      ],
      "rows": 41,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bfs_download_asset",
      "title": "Download a BFS asset file",
      "topics": [
        "bfs_download_asset"
      ]
    },
    {
      "page": "bfs_download_geodata",
      "title": "Download a geographic file from the Swiss geo-portal",
      "topics": [
        "bfs_download_geodata"
      ]
    },
    {
      "page": "bfs_get_asset_metadata",
      "title": "Get asset metadata in a given language",
      "topics": [
        "bfs_get_asset_metadata"
      ]
    },
    {
      "page": "bfs_get_base_maps",
      "title": "Get Switzerland base maps data",
      "topics": [
        "bfs_get_base_maps"
      ]
    },
    {
      "page": "bfs_get_catalog",
      "title": "Get the BFS data or table catalog",
      "topics": [
        "bfs_get_catalog"
      ]
    },
    {
      "page": "bfs_get_catalog_data",
      "title": "Get the BFS data catalog",
      "topics": [
        "bfs_get_catalog_data"
      ]
    },
    {
      "page": "bfs_get_catalog_geodata",
      "title": "Get the geodata catalog of the Swiss Confederation",
      "topics": [
        "bfs_get_catalog_geodata"
      ]
    },
    {
      "page": "bfs_get_catalog_tables",
      "title": "Get the BFS tables catalog",
      "topics": [
        "bfs_get_catalog_tables"
      ]
    },
    {
      "page": "bfs_get_data",
      "title": "Get BFS data in a given language",
      "topics": [
        "bfs_get_data"
      ]
    },
    {
      "page": "bfs_get_data_comments",
      "title": "Get the comments/footnotes of a BFS dataset in a given language",
      "topics": [
        "bfs_get_data_comments"
      ]
    },
    {
      "page": "bfs_get_metadata",
      "title": "Get metadata of a BFS data in a given language",
      "topics": [
        "bfs_get_metadata"
      ]
    },
    {
      "page": "bfs_get_sse_data",
      "title": "Get Data from Swiss Stats Explorer (SSE) API",
      "topics": [
        "bfs_get_sse_data"
      ]
    },
    {
      "page": "bfs_get_sse_metadata",
      "title": "Get Metadata (Codelists) from Swiss Stats Explorer (SSE) API",
      "topics": [
        "bfs_get_sse_metadata"
      ]
    },
    {
      "page": "bfs_get_sse_url",
      "title": "Get the URL for the Swiss Stats Explorer (SSE) API based on the BFS number",
      "topics": [
        "bfs_get_sse_url"
      ]
    },
    {
      "page": "get_xml_name",
      "title": "Get the name from an XML node for a specified language, with fallback",
      "topics": [
        "get_xml_name"
      ]
    },
    {
      "page": "register_bzn",
      "title": "Swiss official commune register BZN",
      "topics": [
        "register_bzn"
      ]
    },
    {
      "page": "register_dic",
      "title": "Swiss official commune register Dictionary",
      "topics": [
        "register_dic"
      ]
    },
    {
      "page": "register_gde",
      "title": "Swiss official commune register GDE",
      "topics": [
        "register_gde"
      ]
    },
    {
      "page": "register_gde_other",
      "title": "Swiss official commune register GDE Other",
      "topics": [
        "register_gde_other"
      ]
    },
    {
      "page": "register_kt",
      "title": "Swiss official commune register KT",
      "topics": [
        "register_kt"
      ]
    },
    {
      "page": "register_kt_seeanteile",
      "title": "Swiss official commune register KT Seeanteile",
      "topics": [
        "register_kt_seeanteile"
      ]
    }
  ],
  "_pkglogo": "https://github.com/lgnbhl/BFS/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/lgnbhl/BFS/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "checkmate",
    "cli",
    "cpp11",
    "curl",
    "dplyr",
    "fs",
    "generics",
    "glue",
    "hms",
    "httr",
    "httr2",
    "janitor",
    "jsonlite",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "pxweb",
    "R6",
    "rappdirs",
    "rlang",
    "rvest",
    "selectr",
    "snakecase",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr",
    "xml2",
    "zip"
  ],
  "_score": 7.10383107722707,
  "_indexed": false,
  "_nocasepkg": "bfs",
  "_universes": [
    "swissstatsr"
  ],
  "_indexurl": "https://lgnbhl.r-universe.dev/BFS",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:17.000Z",
      "distro": "noble",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "f54e5ae09d6f8028fbc7bb78e1e67eefd1efda6e3adca0a033aee9589c858f99",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:19.000Z",
      "distro": "noble",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "fd59651ab65037138ed1596794b7235dd08e2813057207e324d8f60be60c5731",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.1",
      "date": "2026-06-05T07:09:52.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "c04dcd425309dd119c61bd096e54822835cafb1beca00bed392acfab1035b6f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.1",
      "date": "2026-06-05T07:09:40.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "52d4d4c66c1833829ed2389eb811b8c30d4ee9f6a63ec70289acc3485cceded3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:15.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "123d7873516112bcbbb1e53b26c804ce08504c929bf9a1366fbfaed9720150bd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-06-05T07:09:27.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "4106664feaccf13313ef860e3292b56b26ff5e01ed34b2aea75b53c26564ee6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-06-05T07:09:19.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "9623fcf5630d425c19b9851c525a98595a6993c3d98006cdef972f656f6a1026",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:17.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "e97279e379058e8e0f148600d4fb284fbbbd4d7b4bd7ed06407ec249a51689e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/27000764923"
    }
  ]
}