Skip to content

Commit

Permalink
Update citation, NEWS, README
Browse files Browse the repository at this point in the history
  • Loading branch information
pitkant committed Dec 3, 2024
1 parent f9e3cef commit a3e4946
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 22 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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".
Expand Down
20 changes: 11 additions & 9 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ knitr::opts_chunk$set(

<!-- badges: start -->
[![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)
<!-- badges: end -->
[![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)
<!-- badges: end -->

<!--[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/hetu)](https://github.com/metacran/cranlogs.app)-->

Expand Down Expand Up @@ -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).

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
<https://ropengov.github.io/hetu/>
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)!
Expand Down
15 changes: 8 additions & 7 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -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(
Expand All @@ -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!")

0 comments on commit a3e4946

Please sign in to comment.