{"id":14067367,"url":"https://github.com/mpascariu/MortalityLaws","last_synced_at":"2025-07-30T01:30:45.522Z","repository":{"id":45960609,"uuid":"74010070","full_name":"mpascariu/MortalityLaws","owner":"mpascariu","description":"Fit and compare the most popular human mortality laws - R package","archived":false,"fork":false,"pushed_at":"2025-04-15T18:37:59.000Z","size":6656,"stargazers_count":32,"open_issues_count":6,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-26T18:49:25.054Z","etag":null,"topics":["actuarial-science","demography","download-hmd","human-mortality-laws","life-table","mortality"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpascariu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-11-17T09:12:51.000Z","updated_at":"2025-04-15T18:38:02.000Z","dependencies_parsed_at":"2022-09-01T04:22:47.090Z","dependency_job_id":"0aa2881f-0c8d-4ef2-8511-02a9a66bc26e","html_url":"https://github.com/mpascariu/MortalityLaws","commit_stats":{"total_commits":202,"total_committers":6,"mean_commits":"33.666666666666664","dds":"0.33168316831683164","last_synced_commit":"0ae2da33bcb3326be2733bd2c036ca9637a4f74a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mpascariu/MortalityLaws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpascariu%2FMortalityLaws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpascariu%2FMortalityLaws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpascariu%2FMortalityLaws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpascariu%2FMortalityLaws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpascariu","download_url":"https://codeload.github.com/mpascariu/MortalityLaws/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpascariu%2FMortalityLaws/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267792137,"owners_count":24144929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actuarial-science","demography","download-hmd","human-mortality-laws","life-table","mortality"],"created_at":"2024-08-13T07:05:33.584Z","updated_at":"2025-07-30T01:30:45.504Z","avatar_url":"https://github.com/mpascariu.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# \u003cimg src=\"inst/figures/hex_MoralityLaws.png\" align=\"right\" width=\"175\" height=\"175\" /\u003eMortalityLaws: Parametric Mortality Models, Life Tables and HMD\n[![CRAN_Version](https://www.r-pkg.org/badges/version/MortalityLaws)](https://cran.r-project.org/package=MortalityLaws)\n[![codecov](https://codecov.io/github/mpascariu/MortalityLaws/branch/master/graphs/badge.svg)](https://app.codecov.io/github/mpascariu/MortalityLaws)\n[![issues](https://img.shields.io/github/issues-raw/mpascariu/MortalityLaws.svg)](https://github.com/mpascariu/MortalityLaws/issues)\n\n[![lifecycle](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/mpascariu/MortalityLaws/blob/master/LICENSE)\n[![CRAN_Download_Badge1](https://cranlogs.r-pkg.org/badges/grand-total/MortalityLaws)](https://CRAN.R-project.org/package=MortalityLaws)\n[![CRAN_Download_Badge2](https://cranlogs.r-pkg.org/badges/MortalityLaws)](https://CRAN.R-project.org/package=MortalityLaws)\n\n\nFit the most popular human mortality `laws`, and construct full and abridged life tables given various input indices. A mortality law is a parametric function that describes the dying-out process of individuals in a population during a significant portion of their \nlife spans. For a comprehensive review of the most important mortality laws see [Tabeau (2001)](https://doi.org/10.1007/0-306-47562-6_1). Function for downloading demographic data from the following sources are provided:\n\n- the [Human Mortality Database (HMD)](https://www.mortality.org/)\n- the [Australian Human Mortality Database (AHMD)](https://aushd.org/)\n- the [Canadian Human Mortality Database (CHMD)](http://www.bdlc.umontreal.ca/chmd/index.htm)\n- the [Japanese Mortality Database (JMD)](https://www.ipss.go.jp/p-toukei/JMD/index-en.asp)\n\n\n## Installation\n\n1. Make sure you have the most recent version of R\n2. Run the following code in your R console \n\n```R\ninstall.packages(\"MortalityLaws\")\n```\n\n## Updating to the latest version of the package\n\nYou can track and contribute to the development of `MortalityLaws` on [GitHub](https://github.com/mpascariu/MortalityLaws). To install it:\n\n1. Install the release version of `devtools` from CRAN with `install.packages(\"devtools\")`.\n\n2. Make sure you have a working development environment.\n    * **Windows**: Install [Rtools](https://CRAN.R-project.org/bin/windows/Rtools/).\n    * **Mac**: Install `Xcode` from the Mac App Store.\n    * **Linux**: Install a compiler and various development libraries (details vary across different flavors of Linux).\n\n3. Install the development version of `MortalityLaws`.\n\n   ```R\n   devtools::install_github(\"mpascariu/MortalityLaws\")\n   ```\n\n## Help\nAll functions are documented in the standard way, which means that once you load the package using ```library(MortalityLaws)``` you can just type ```?MortalityLaw``` to see the help file. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpascariu%2FMortalityLaws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpascariu%2FMortalityLaws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpascariu%2FMortalityLaws/lists"}