{
  "_id": "6a2277cecd65a98ecbd4c092",
  "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://lgnbhl.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:09:09 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": "d11069c7e7b433cd7ab799e914b851cc",
  "_user": "lgnbhl",
  "_type": "src",
  "_file": "BFS_0.7.1.tar.gz",
  "_fileid": "d314b7decae34d6e1ea2b280c7c60de37e0aac180e2aa5f4ecc4ccb43474d696",
  "_filesize": 1125982,
  "_sha256": "d314b7decae34d6e1ea2b280c7c60de37e0aac180e2aa5f4ecc4ccb43474d696",
  "_created": "2026-06-05T07:09:09.000Z",
  "_published": "2026-06-05T07:16:30.912Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79680957124,
      "time": 306,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430887935"
    },
    {
      "job": 79680957093,
      "time": 370,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7430911336"
    },
    {
      "job": 79680957155,
      "time": 313,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430896216"
    },
    {
      "job": 79680957116,
      "time": 312,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430895909"
    },
    {
      "job": 79680609401,
      "time": 168,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430814638"
    },
    {
      "job": 79680957232,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430843266"
    },
    {
      "job": 79680957129,
      "time": 332,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430901323"
    },
    {
      "job": 79680957271,
      "time": 333,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430901823"
    },
    {
      "job": 79680957125,
      "time": 409,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430921934"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319",
  "_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": true,
  "_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": 29467632,
    "type": "user",
    "name": "Félix Luginbuhl",
    "description": "Full-stack R developer"
  },
  "_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": true,
  "_nocasepkg": "bfs",
  "_universes": [
    "lgnbhl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.1",
      "date": "2026-06-05T07:11:18.000Z",
      "distro": "noble",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "98a15696a308131915a43fa2387ff0e6f4f5b8ef167765d77466bdd3edb8f11b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.1",
      "date": "2026-06-05T07:11:25.000Z",
      "distro": "noble",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "1ec3207b4ca96b99c59a1726f6e16830ef89a6067067e3779c7b162f0158def9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:33.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "7b3f13cfcacca4a43ad65cfd3b5425734e49aa8fc0ad55f8c9c11178021dc7f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:33.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "74c2c9775af2300a8e05aac605dab683c536b5628cd6a637c6a45811458b7abe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.1",
      "date": "2026-06-05T07:11:16.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "ecebed374b943efdeeb3c9fd4515de2dc9ffc7deb67ac8925d1cf68195a6d282",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:28.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "8c48315cb35f875adb126bc3eb5851b0f0ca6b573e912518ca04ecb2467a52d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:28.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "676aea6228370fac5de87ee9bf471027dd5d3032764a58cc32fa4287845778cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-06-05T07:10:27.000Z",
      "commit": "d7e41e829c9525fd6a1ffb5e6fab6f5a6cdab182",
      "fileid": "74e2f6cae43be8530bfc0650722c4b2765276c3f9c81d1ab2f8cffe47adad99f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lgnbhl/actions/runs/27000806319"
    }
  ]
}