migrbc: Production Rules Based Classification of Migration

Provides mechanisms for classifying border crossings using a rules-based methodology. The goal of performing this type of classification is to identify any potential long-term migrants. A long-term migration is defined as a border crossing involving a change in residence status. A border crossing counts as a long-term migration to/from a country if it entails a change from non-residence to residence / residence to non-residence. The rules-based classification that used to determine a long-term migration is defined by a threshold duration and a test duration, alternatively named window size. Under a 12/16 rule, for instance, the threshold duration is 12 months and the test duration (window size) is 16 months. With a 9/12 rule, the threshold duration is 9 months and the test duration (window size) is 12 months. For more information about the methodology applied, please visit Stats NZ (2020) <https://www.stats.govt.nz/methods/defining-migrants-using-travel-histories-and-the-1216-month-rule>.

Version: 2.0.9
Depends: R (≥ 3.5)
Imports: Rcpp (≥ 1.0), lubridate (≥ 1.7), stringr (≥ 1.4), dplyr (≥ 0.8), methods, parallel, futile.logger
LinkingTo: Rcpp
Suggests: magrittr, tools, knitr, rmarkdown, testthat
Published: 2020-05-15
Author: Leshi Chen [aut, cre], Pubudu Senanayake [aut], Del Robinson [aut], Statistics New Zealand [cph]
Maintainer: Leshi Chen <leshi.chen at stats.govt.nz>
BugReports: https://github.com/statisticsnz/migrbc/issues
License: MIT + file LICENSE
URL: https://github.com/statisticsnz/migrbc, https://statisticsnz.github.io/migrbc
NeedsCompilation: yes
Language: en-US
Materials: README NEWS
CRAN checks: migrbc results


Reference manual: migrbc.pdf
Vignettes: migrbc
Package source: migrbc_2.0.9.tar.gz
Windows binaries: r-devel: migrbc_2.0.9.zip, r-release: migrbc_2.0.9.zip, r-oldrel: migrbc_2.0.9.zip
macOS binaries: r-release: migrbc_2.0.9.tgz, r-oldrel: migrbc_2.0.9.tgz
Old sources: migrbc archive


Please use the canonical form https://CRAN.R-project.org/package=migrbc to link to this page.