{
  "_id": "6a22a4f7cd65a98ecbd5984e",
  "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-06-05 10:26:23 UTC",
    "User": "root"
  },
  "MD5sum": "c20a4f62a7556c78327f37df07544d51",
  "_user": "ropengov",
  "_type": "src",
  "_file": "sweidnumbr_1.5.0.tar.gz",
  "_fileid": "dca4019b6c7bc216e21ac168b37df677a1fd84ca27ac5b94d8ce61d5aacd1a0f",
  "_filesize": 295711,
  "_sha256": "dca4019b6c7bc216e21ac168b37df677a1fd84ca27ac5b94d8ce61d5aacd1a0f",
  "_created": "2026-06-05T10:26:23.000Z",
  "_published": "2026-06-05T10:29:11.939Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79709641049,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434416459"
    },
    {
      "job": 79709641044,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434416552"
    },
    {
      "job": 79709641187,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434402929"
    },
    {
      "job": 79709641069,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434410966"
    },
    {
      "job": 79709154790,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434374679"
    },
    {
      "job": 79709641047,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434405732"
    },
    {
      "job": 79709641054,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434402427"
    },
    {
      "job": 79709641112,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434407662"
    },
    {
      "job": 79709641114,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434407618"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Open government data analytics with R"
  },
  "_downloads": {
    "count": 160,
    "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.0",
  "_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",
    "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",
        "<a name=\"installation\"></a>Installation",
        "<a name=\"examplepin\"></a>Example: personal identity numbers",
        "<a name=\"exampleoin\"></a>Example: organizational identity numbers",
        "<a name=\"licens\"></a>Licensing and Citations",
        "<a name=\"references\"></a>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-06-05T10:28:35.000Z",
      "distro": "noble",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "71eca2823d70265e58aae511b9b58629e18725309048214e12049bc12331ed75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-06-05T10:28:31.000Z",
      "distro": "noble",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "248319efed85f30c8fec10f522428c6740c879945c7a77005305258b5de8b3fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-06-05T10:27:51.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "e5ad9ba730747d07cef8d5441d19cda3cc57b9d6f2a220b6a73f82df0a0d6e5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-06-05T10:28:17.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "c0df403d5055c4458a591674f35c7300b2ae3c8cfdd294403ed108ddf64fa35b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.0",
      "date": "2026-06-05T10:28:20.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "0fc2d865fd0032ef3bb64d6dd2038d014eb8e1dfde6dd5581c3e2959498eec47",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-06-05T10:27:33.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "9f976d55378101195a41050067da6007cad5f01063a7d4f5ff2593127168d072",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-06-05T10:27:49.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "a7f013baf18e10c2095eeb3818ffce3493d418adc66b69ba7fb869bd522d96fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-06-05T10:27:45.000Z",
      "commit": "234675381bc3405efa744dc41285bdf8ec483a9b",
      "fileid": "a93bd1aca1613acbf58ec70586cfb5e66810de38b306e225fd88b5c783d51ae6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropengov/actions/runs/27009435582"
    }
  ]
}