{
  "_id": "6a4a21e20784416d7d81a900",
  "Package": "sweidnumbr",
  "Type": "Package",
  "Title": "Handling of Swedish Identity Numbers",
  "Version": "1.5.0",
  "Date": "2024-01-13",
  "Author": "Mans Magnusson and Erik Bulow",
  "Maintainer": "Mans Magnusson <mons.magnusson@gmail.com>",
  "Description": "Structural handling of identity numbers used in the\nSwedish administration such as personal identity numbers\n('personnummer') and organizational identity numbers\n('organisationsnummer').",
  "VignetteBuilder": "rmarkdown, knitr",
  "URL": "https://github.com/rOpenGov/sweidnumbr,\nhttp://ropengov.github.io/sweidnumbr/",
  "BugReports": "https://github.com/rOpenGov/sweidnumbr/issues",
  "License": "BSD_2_clause + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ropengov.r-universe.dev",
  "Date/Publication": "2024-01-13 20:03:03 UTC",
  "RemoteUrl": "https://github.com/rOpenGov/sweidnumbr",
  "RemoteRef": "HEAD",
  "RemoteSha": "234675381bc3405efa744dc41285bdf8ec483a9b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-05 09:17:31 UTC",
    "User": "root"
  },
  "_user": "ropengov",
  "_type": "src",
  "_file": "sweidnumbr_1.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/ddf87b37b11c53b15b1d00782fce5c831e457cdb019dd287814f447aed0ce126",
  "_filesize": 297668,
  "_sha256": "ddf87b37b11c53b15b1d00782fce5c831e457cdb019dd287814f447aed0ce126",
  "_expires": "2026-10-13T09:20:32.000Z",
  "_created": "2026-07-05T09:17:31.000Z",
  "_published": "2026-07-05T09:20:34.316Z",
  "_jobs": [
    {
      "job": 85210172549,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8090363352"
    },
    {
      "job": 85210172548,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8090365946"
    },
    {
      "job": 85210172569,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8090361214"
    },
    {
      "job": 85210172597,
      "time": 85,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8090358428"
    },
    {
      "job": 85209924711,
      "time": 226,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8090347464"
    },
    {
      "job": 85210172550,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8090362989"
    },
    {
      "job": 85210172575,
      "time": 85,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8090358616"
    },
    {
      "job": 85210172577,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8090358350"
    },
    {
      "job": 85210172566,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8090359197"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353",
  "_status": "success",
  "_upstream": "https://github.com/rOpenGov/sweidnumbr",
  "_commit": {
    "id": "234675381bc3405efa744dc41285bdf8ec483a9b",
    "author": "Måns Magnusson <MansMeg@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #130 from rOpenGov/development\n\nFix citation",
    "time": 1705176183
  },
  "_maintainer": {
    "name": "Mans Magnusson",
    "email": "mons.magnusson@gmail.com",
    "login": "mansmeg",
    "description": "",
    "uuid": 2458198
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2",
      "role": "Depends"
    },
    {
      "package": "lubridate",
      "version": ">= 1.5",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "ropengov",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "ropengov"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "mansmeg",
      "count": 228,
      "uuid": 2458198
    },
    {
      "user": "pitkant",
      "count": 14,
      "uuid": 69813611
    },
    {
      "user": "janzzon",
      "count": 7,
      "uuid": 11662406
    },
    {
      "user": "dieghernan",
      "count": 3,
      "uuid": 25656809
    },
    {
      "user": "eribul",
      "count": 3,
      "uuid": 7790927
    },
    {
      "user": "gforge",
      "count": 1,
      "uuid": 2198913
    }
  ],
  "_userbio": {
    "uuid": 5463092,
    "type": "organization",
    "name": "rOpenGov",
    "followers": 99,
    "description": "Open government data analytics with R"
  },
  "_downloads": {
    "count": 268,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sweidnumbr"
  },
  "_devurl": "https://github.com/ropengov/sweidnumbr",
  "_pkgdown": "http://ropengov.github.io/sweidnumbr/",
  "_searchresults": 36,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sweidnumbr.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropengov/sweidnumbr",
  "_realowner": "ropengov",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2014-09-06"
    },
    {
      "version": "0.2",
      "date": "2014-09-28"
    },
    {
      "version": "0.6.0",
      "date": "2015-06-09"
    },
    {
      "version": "0.6.1",
      "date": "2015-07-14"
    },
    {
      "version": "0.6.5",
      "date": "2015-09-06"
    },
    {
      "version": "0.8.2",
      "date": "2015-12-05"
    },
    {
      "version": "1.0.0",
      "date": "2015-12-23"
    },
    {
      "version": "1.1.0",
      "date": "2016-02-04"
    },
    {
      "version": "1.2.0",
      "date": "2016-04-15"
    },
    {
      "version": "1.4.1",
      "date": "2016-09-14"
    },
    {
      "version": "1.4.2",
      "date": "2020-03-29"
    },
    {
      "version": "1.5.0",
      "date": "2024-01-13"
    }
  ],
  "_exports": [
    "as.oin",
    "as.pin",
    "format_pin",
    "is.oin",
    "is.pin",
    "luhn_algo",
    "oin_ctrl",
    "oin_group",
    "pin_age",
    "pin_birthplace",
    "pin_coordn",
    "pin_ctrl",
    "pin_date",
    "pin_sex",
    "pin_to_date",
    "roin",
    "rpin"
  ],
  "_datasets": [
    {
      "name": "fake_pins",
      "title": "Fake personal identity numbers and names",
      "object": "fake_pins",
      "class": [
        "data.frame"
      ],
      "fields": [
        "pin",
        "name"
      ],
      "rows": 62,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as.oin",
      "title": "Parse organizational identity numbers",
      "topics": [
        "as.oin"
      ]
    },
    {
      "page": "as.pin",
      "title": "Parse personal identity numbers to ABS format",
      "topics": [
        "as.pin",
        "is.pin"
      ]
    },
    {
      "page": "fake_pins",
      "title": "Fake personal identity numbers and names",
      "topics": [
        "fake_pins"
      ]
    },
    {
      "page": "format_pin",
      "title": "Formatting pin",
      "topics": [
        "format_pin"
      ]
    },
    {
      "page": "is.oin",
      "title": "Test if a character vector contains correct 'oin'",
      "topics": [
        "is.oin"
      ]
    },
    {
      "page": "luhn_algo",
      "title": "The Luhn algorithm",
      "topics": [
        "luhn_algo"
      ]
    },
    {
      "page": "oin_ctrl",
      "title": "Check the control numbers for 'oin'",
      "topics": [
        "oin_ctrl"
      ]
    },
    {
      "page": "oin_group",
      "title": "Calculate organization group from 'oin'",
      "topics": [
        "oin_group"
      ]
    },
    {
      "page": "pin_age",
      "title": "Calculate age of 'pin' for a given date",
      "topics": [
        "pin_age"
      ]
    },
    {
      "page": "pin_birthplace",
      "title": "Calculate the birthplace of 'pin'",
      "topics": [
        "pin_birthplace"
      ]
    },
    {
      "page": "pin_coordn",
      "title": "Check if 'pin' is a coordination number",
      "topics": [
        "pin_coordn"
      ]
    },
    {
      "page": "pin_ctrl",
      "title": "Check control number from 'pin'",
      "topics": [
        "pin_ctrl"
      ]
    },
    {
      "page": "pin_date",
      "title": "Calculate the date of birth from a 'pin'",
      "topics": [
        "pin_date"
      ]
    },
    {
      "page": "pin_sex",
      "title": "Calculate sex from 'pin'",
      "topics": [
        "pin_sex"
      ]
    },
    {
      "page": "roin",
      "title": "Generate a vector of random 'oin'",
      "topics": [
        "roin"
      ]
    },
    {
      "page": "rpin",
      "title": "Generate a vector of random 'pin'",
      "topics": [
        "rpin"
      ]
    },
    {
      "page": "sweidnumbr",
      "title": "sweidnumbr",
      "topics": [
        "sweidnumbr"
      ]
    }
  ],
  "_pkglogo": "https://github.com/rOpenGov/sweidnumbr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/rOpenGov/sweidnumbr/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "cpp11",
    "generics",
    "glue",
    "lifecycle",
    "lubridate",
    "magrittr",
    "rlang",
    "stringi",
    "stringr",
    "timechange",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "sweidnumbr.Rmd",
      "filename": "sweidnumbr.html",
      "title": "sweidnumbr : Structural handling of swedish identity numbers",
      "author": "Mans Magnusson and Erik Bulow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Table of contents",
        "Installation",
        "Example: personal identity numbers",
        "Example: organizational identity numbers",
        "Licensing and Citations",
        "References",
        "Session info"
      ],
      "created": "2014-09-03 17:56:16",
      "modified": "2024-01-13 18:24:03",
      "commits": 15
    }
  ],
  "_score": 5.857332496431268,
  "_indexed": true,
  "_nocasepkg": "sweidnumbr",
  "_universes": [
    "ropengov",
    "mansmeg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-07-05T09:19:32.000Z",
      "distro": "resolute",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "https://r2.ropensci.org/82a961663cbdeaa953db5345620a51dd90eda086c86efccf395646b11544251a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-07-05T09:19:47.000Z",
      "distro": "resolute",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "https://r2.ropensci.org/a2efbe2c4dea5fa26be8d1016df7db293b11e4668e8e6123dc693b06051c319b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-07-05T09:19:14.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "https://r2.ropensci.org/c9be9be05c95d76f1356379cfe633a0635dd885110a1286aa5090368fce868d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-07-05T09:18:54.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "https://r2.ropensci.org/158e561b2b51776d38a74df6adc90f93e3ccea35a134317ac2261c4d33f1f36b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.0",
      "date": "2026-07-05T09:19:48.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "https://r2.ropensci.org/1ffd9b569e380d0829ae8036b3898ce686d467e6aeaeedbe52dd23cb8a1e0748",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-07-05T09:18:39.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "https://r2.ropensci.org/01787566faf4f0eb61ab481cc45dfc623b3d310b54b2d042a7da6e8e69149068",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-07-05T09:18:42.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "https://r2.ropensci.org/f503f6f589024b751487e72dbce34862b43f3b2b6ebcd7c0b0008e417b0f5b89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-07-05T09:18:42.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "https://r2.ropensci.org/1bd17d8ac04f0c1ccaf5616a4ef11176f7f51180624bcb4bc0f49fb5457e0cc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/28735894353"
    }
  ]
}