Learn R Programming

⚠️There's a newer version (2.0.4) of this package.Take me there.

migest

Tools for estimating, measuring and working with migration data.

See the pkgdown site for more information

Installation

You can install the released version of migest from CRAN with:

install.packages("migest")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("guyabel/migest")

Copy Link

Version

Install

install.packages('migest')

Monthly Downloads

808

Version

2.0.3

License

GPL-3

Maintainer

Guy Abel

Last Published

October 28th, 2022

Functions in migest (2.0.3)

dict_ims

Dictionary to look up region geographies based on countries used in UN DESA International Migrant Stock.
index_impact

Summary indices of migration impact
ffs_diff

Estimation of bilateral migrant flows from bilateral migrant stocks using stock differencing approaches
index_age

Summary indices of migration age profile
ffs_rates

Estimation of bilateral migrant flows from bilateral migrant stocks using rates approaches
index_intensity

Summary indices of migration intensity
index_age_rc

Summary indices of age migration profile based on parameters from a Rogers and Castro schedule
index_distance

Summary indices of migration distance
ffs_demo

Estimation of bilateral migrant flows from bilateral migrant stocks using demographic accounting approaches
index_connectivity

Summary indices of migration connectivity
korea_dist

Weighted distances in kilometers between 2020 population centroids of Korean administrative regions
ipf3_qi

Iterative proportional fitting routine for the indirect estimation of origin-destination-migrant type migration flow tables with known origin and destination margins and diagonal elements.
italy_area

Single year age-specific origin destination migration flows between Italian NUTS1 areas
ipf3

Iterative proportional fitting routine for the indirect estimation of origin-destination-migrant type migration flow tables with known origin and destination margins.
multi_comp

Multiplicative component description of origin-destination migration flow tables
ipf2

Iterative proportional fitting routine for the indirect estimation of origin-destination migration flow table with known margins.
multi_comp2

Multiplicative component descriptions of origin-destination flow tables based on total reference coding system.
mig_chord

Chord diagram for directional origin-destination data
mig_tibble

Helper function to format migration input
ipf_seed

Quickly create IPF seed
mig_matrix

Helper function to format migration input
indian_sub

Lifetime migration totals for states and zones in the Indian 1901 to 1931
manila_1970

Manila female population 1970 by age
net_sr

Estimate net migration from survival ratios applied to lifetime migration data
nchars_wrap

Count the number of characters per line
ipf2_block

Iterative proportional fitting routine for the indirect estimation of origin-destination-type migration flow tables with known origin and destination margins and block diagonal elements.
sum_lump

Sum and lump together small flows into a "other" category
migest-package

Methods for the Indirect Estimation of Bilateral Migration
ipumsi_age

Age specific migration and population counts from two IPUMSI samples
sum_net

Calculate net migration from an origin-destination migration flow matrix.
net_vs

Estimate net migration from vital statistics
ipf2_stripe

iterative proportional fitting routine for the indirect estimation of origin-destination-type migration flow tables with known origin and destination margins and stripe elements.
match_pob_tot

Adjust migrant stock tables to have matching place of birth totals
new_england_1960

New England male white-native population totals in 1950 and 1960 by place of birth and age
quadratic_eqn

Solutions from the quadratic equation
sum_bilat

Summary of bilateral flows, counter-flow and net migration flow
%>%

Pipe operator
sum_expand

Sum bilateral data to include aggregate bilateral totals for origin and destination meta areas
uar_1960

Lifetime migration data for Governorates of United Arab Republic in 1960
korea_pop

Annual resident population totals of Korean regions
umbrella

Umbrella colour scheme
rescale_integer_sum

Rescale integer vector to a set sum
rescale_nb

Rescale native born populations to match global differences in births and deaths over period
str_wrap_n_single

Single line wrap for string
stripe_matrix

Create a stripped matrix with non-uniform block sizes.
sum_od

Extract a classic origin-destination migration flow matrix.
str_wrap_n

Wrap character string to fit a target number of lines
rescale_net

Rescale net migration total to a global zero sum
sum_region

Summary of regional in-, out-, turnover and net-migration totals from an origin-destination migration flow matrix or data frame.
korea_reg

Annual origin destination migration flows between Korean regions
rc_model_fund

Fundamental parameters for Rogers-Castro migration schedule
rc_model_un

Model parameters for six Rogers-Castro migration schedules proposed by UN DESA
usa_1960

US population totals in 1950 and 1960 by place of birth, age, sex and race
birth_mat

Calculate births for each element of place of birth - place of residence stock matrix
alabama_1970

Alabama population totals in 1960 and 1970 by age, sex and race
block_matrix

Create a block matrix with non-uniform block sizes.
bombay_1951

Bombay population totals in 1941 and 1951 by age
block_sum

Sum over a selected block in a block matrix
cm2

Conditional maximization routine for the indirect estimation of origin-destination migration flow table with known margins
cm_net

Conditional maximization routine for the indirect estimation of origin-destination-type migration flow tables with known net migration totals.
cm3

Conditional maximization routine for the indirect estimation of origin-destination-migrant type migration flow tables with known origin and destination margins.
cm_net_tot

Conditional maximization routine for the indirect estimation of origin-destination-type migration flow tables with known net migration and grand totals.
death_mat

Calculate deaths for each element of place of birth - place of residence stock matrix