Learn R Programming

⚠️There's a newer version (2.0.5) 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

330

Version

2.0.4

License

GPL-3

Maintainer

Guy Abel

Last Published

November 18th, 2023

Functions in migest (2.0.4)

dict_ims

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

Summary indices of migration connectivity
ffs_demo

Estimation of bilateral migrant flows from bilateral migrant stocks using demographic accounting approaches
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
index_age_rc

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

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

Summary indices of migration distance
index_intensity

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

Iterative proportional fitting routine for the indirect estimation of origin-destination-migrant type migration flow tables with known origin and destination margins.
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.
italy_area

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

Iterative proportional fitting routine for the indirect estimation of origin-destination migration flow table with known margins.
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.
ipf_seed

Quickly create IPF seed
korea_gravity

Annual origin destination migration flows between Korean regions alongside selected geographic, economic and demographic variables.
indian_sub

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

Age specific migration and population counts from two IPUMSI samples
nb_non_zero

Handle negative native born populations
migest-package

Methods for the Indirect Estimation of Bilateral Migration
mig_tibble

Helper function to format migration input
match_birthplace_tot

Adjust migrant stock tables to have matching place of birth (origin) totals
manila_1970

Manila female population 1970 by age
rescale_integer_sum

Rescale integer vector to a set sum
rescale_net

Rescale net migration total to a global zero sum
net_vs

Estimate net migration from vital statistics
sum_bilat

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

Create a stripped matrix with non-uniform block sizes.
%>%

Pipe operator
quadratic_eqn

Solutions from the quadratic equation
nb_scale_global

Scale native born populations to match global differences in births and deaths over period
sum_region

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

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

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

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

Chord diagram for directional origin-destination data
mig_matrix

Helper function to format migration input
multi_comp

Multiplicative component description of origin-destination migration flow tables
nchars_wrap

Count the number of characters per line
sum_net

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

Extract a classic origin-destination migration flow matrix.
rc_model_un

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

Fundamental parameters for Rogers-Castro migration schedule
sum_expand

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

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

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

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

Umbrella colour scheme
str_wrap_n_single

Single line wrap for string
str_wrap_n

Wrap character string to fit a target number of lines
alabama_1970

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

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

Sum over a selected block in a block matrix
block_matrix

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

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

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

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

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

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

Bombay population totals in 1941 and 1951 by age