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.2

License

GPL-3

Maintainer

Guy Abel

Last Published

December 2nd, 2021

Functions in migest (2.0.2)

block_sum

Sum over a selected block in a block matrix
cm3

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

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

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

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

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

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

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

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

Bombay population totals in 1941 and 1951 by age
index_connectivity

Summary indices of migration connectivity
format_migration_tibble

Helper function to format migration input
index_intensity

Summary indices of migration intensity
index_impact

Summary indices of migration impact
format_migration_matrix

Helper function to format migration input
manila_1970

Manila female population 1970 by age
ffs_demo

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

Quickly create IPF seed
mig_chord

Chord diagram for directional origin-destination data
dict_ims

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

Age specific migration and population counts from two IPUMSI samples
ffs_diff

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

Summary indices of migration distance
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.
ipf3

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

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

Fundamental parameters for Rogers-Castro migration schedule
multi_comp

Multiplicative component description of origin-destination migration flow tables
multi_comp2

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

Summary indices of migration age profile
rc_model_un

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

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

Single line wrap for string
match_pob_tot

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

Wrap character string to fit a target number of lines
rescale_net

Rescale net migration total to a global zero sum
index_age_rc

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

Rescale integer vector to a set sum
korea_dist

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

Estimate net migration from vital statistics
migest-package

Methods for the Indirect Estimation of Bilateral Migration
italy_area

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

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

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

Annual resident population totals of Korean regions
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.
nchars_wrap

Count the number of characters per line
net_sr

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

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

Annual origin destination migration flows between Korean regions
stripe_matrix

Create a stripped matrix with non-uniform block sizes.
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.
%>%

Pipe operator
sum_net

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

Sum and lump together small flows into a "other" category
uar_1960

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

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

Umbrella colour scheme
quadratic_eqn

Solutions from the quadratic equation
sum_expand

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

Summary of bilateral flows, counter-flow and net migration flow
sum_region

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

Extract a classic origin-destination migration flow matrix.