diff --git a/DESCRIPTION b/DESCRIPTION index 2099058..eb8e920 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: hetu Type: Package Title: Structural Handling of Finnish Personal Identity Codes Version: 1.1.0 -Date: 2024-11-19 +Date: 2024-12-03 Authors@R: c( person(given = "Pyry", diff --git a/NEWS.md b/NEWS.md index efde65c..adb0afe 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,12 +1,12 @@ # *News* ========== -# hetu 1.1.0 (2024-11-19) +# hetu 1.1.0 (2024-12-03) * Add summary method and plot methods for data.frames produced by `hetu_diagnostic()` -* Add support for new century markers. +* Add support for the new century markers that were added in a Finnish government decree 8.7.2022/690 that amended another government decree 25.2.2010/128 ("Government Decree on the Population Information System"). -# hetu 1.0.7.9000 (2022-05-16) +# hetu 1.0.7 (2022-05-16) * subsetting-parameter (TRUE or FALSE) dropped from `hetu_diagnostic()` function as it was unnecessary syntactic sugar that was difficult to communicate to users. Similar functionalities can be easily achieved with standard subsetting functionalities found in base R and especially in tidyverse. * `satu_ctrl_char()` parameter for printing whole SATU/FINUID-numbers is now called "print.full" instead of "complement". diff --git a/README.Rmd b/README.Rmd index df289dd..1dda55f 100644 --- a/README.Rmd +++ b/README.Rmd @@ -14,14 +14,14 @@ knitr::opts_chunk$set( [![rOG-badge](https://ropengov.github.io/rogtemplate/reference/figures/ropengov-badge.svg)](https://ropengov.org/) - [![R build status](https://github.com/rOpenGov/hetu/workflows/R-CMD-check/badge.svg)](https://github.com/rOpenGov/hetu/actions) - [![codecov](https://codecov.io/gh/rOpenGov/hetu/branch/master/graph/badge.svg)](https://app.codecov.io/gh/rOpenGov/hetu) - [![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/hetu)](https://cran.r-project.org/package=hetu) - [![Downloads](http://cranlogs.r-pkg.org/badges/hetu)](https://cran.r-project.org/package=hetu) - [![Watch on GitHub][github-watch-badge]][github-watch] - [![Star on GitHub][github-star-badge]][github-star] - [![cran version](http://www.r-pkg.org/badges/version/hetu)](https://CRAN.R-project.org/package=hetu) - +[![R build status](https://github.com/rOpenGov/hetu/workflows/R-CMD-check/badge.svg)](https://github.com/rOpenGov/hetu/actions) +[![codecov](https://codecov.io/gh/rOpenGov/hetu/branch/master/graph/badge.svg)](https://app.codecov.io/gh/rOpenGov/hetu) +[![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/hetu)](https://cran.r-project.org/package=hetu) +[![Downloads](http://cranlogs.r-pkg.org/badges/hetu)](https://cran.r-project.org/package=hetu) +[![Watch on GitHub][github-watch-badge]][github-watch] +[![Star on GitHub][github-star-badge]][github-star] +[![cran version](http://www.r-pkg.org/badges/version/hetu)](https://CRAN.R-project.org/package=hetu) + @@ -96,7 +96,9 @@ vignette("hetu") ## Acknowledgements -**Kindly cite this work** as follows: [Pyry Kantanen](https://github.com/pitkant/), Måns Magnusson, Jussi Paananen, Leo Lahti. hetu: Finnish personal ID number data toolkit for R. URL: [https://ropengov.github.io/hetu/](https://ropengov.github.io/hetu/) +**Kindly cite this work** as follows: [Pyry Kantanen](https://github.com/pitkant/), Måns Magnusson, Jussi Paananen, Leo Lahti. Pyry Kantanen, Mans Magnusson, Jussi Paananen and Leo Lahti (2024). hetu: Structural Handling of Finnish + Personal Identity Codes [Computer software]. R package version 1.1.0. DOI: + https://doi.org/10.32614/CRAN.package.hetu We are grateful to all [contributors](https://github.com/rOpenGov/hetu/graphs/contributors)! This project is part of [rOpenGov](https://ropengov.org). diff --git a/README.md b/README.md index 486641b..636f161 100644 --- a/README.md +++ b/README.md @@ -119,8 +119,10 @@ vignette("hetu") **Kindly cite this work** as follows: [Pyry Kantanen](https://github.com/pitkant/), Måns Magnusson, Jussi Paananen, -Leo Lahti. hetu: Finnish personal ID number data toolkit for R. URL: - +Leo Lahti. Pyry Kantanen, Mans Magnusson, Jussi Paananen and Leo Lahti +(2024). hetu: Structural Handling of Finnish Personal Identity Codes +\[Computer software\]. R package version 1.1.0. DOI: + We are grateful to all [contributors](https://github.com/rOpenGov/hetu/graphs/contributors)! diff --git a/inst/CITATION b/inst/CITATION index ae44130..464338a 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,6 +1,6 @@ citHeader("Kindly cite the hetu R package as follows:") -year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE) +year <- sub("-.*", "", meta$Date) vers <- paste("R package version", meta$Version) bibentry( @@ -12,17 +12,18 @@ bibentry( person(given ="Mans", family="Magnusson"), person(given ="Jussi", family="Paananen"), person(given ="Leo", family="Lahti")), - doi = "", + doi = "10.32614/CRAN.package.hetu", journal = "", URL = "https://github.com/rOpenGov/hetu", year = year, note = vers, textVersion = - paste( - "Pyry Kantanen, Mans Magnusson, Jussi Paananen and Leo Lahti (rOpenGov ",year,"). ", - "hetu: Structural Handling of Finnish Personal Identity Codes. ", + paste0( + "Pyry Kantanen, Mans Magnusson, Jussi Paananen and Leo Lahti (",year,"). ", + "hetu: Structural Handling of Finnish Personal Identity Codes [Computer software]. ", vers, - " URL: http://github.com/rOpenGov/hetu", - sep="")) + ". DOI: https://doi.org/10.32614/CRAN.package.hetu" + ) + ) citFooter("\nMany thanks for all contributors!")