Skip to contents

Data summaries

sum_bilat()
Summary of bilateral flows, counter-flow and net migration flow
sum_region() sum_country()
Summary of regional in-, out-, turnover and net-migration totals from an origin-destination migration flow matrix or data frame.
sum_lump()
Sum and lump together small flows into a "other" category
sum_expand()
Sum bilateral data to include aggregate bilateral totals for origin and destination meta areas
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.

Visualisation

mig_chord()
Chord diagram for directional origin-destination data
str_wrap_n()
Wrap character string to fit a target number of lines

Indices

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
index_connectivity()
Summary indices of migration connectivity
index_distance()
Summary indices of migration distance
index_impact()
Summary indices of migration impact
index_intensity()
Summary indices of migration intensity

Estimation: flows from stocks

ffs_demo()
Estimation of bilateral migrant flows from bilateral migrant stocks using demographic accounting approaches
ffs_diff()
Estimation of bilateral migrant flows from bilateral migrant stocks using stock differencing approaches
ffs_rates()
Estimation of bilateral migrant flows from bilateral migrant stocks using rates approaches

Estimation: constrained maximisation routines

cm2()
Conditional maximization routine for the indirect estimation of origin-destination migration flow table with known margins
cm3()
Conditional maximization routine for the indirect estimation of origin-destination-migrant type migration flow tables with known origin and destination margins.
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.

Estimation: iterative proportional fitting procedures

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

Estimation: net migration

net_sr()
Estimate net migration from survival ratios applied to lifetime migration data
net_vs()
Estimate net migration from vital statistics

Rescaling functions

rescale_net()
Rescale net migration total to a global zero sum
rescale_integer_sum()
Rescale integer vector to a set sum

Rogers Castro model age schedule parameters

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

Creating special matrices

block_matrix()
Create a block matrix with non-uniform block sizes.
stripe_matrix()
Create a stripped matrix with non-uniform block sizes.

Miscellaneous

quadratic_eqn()
Solutions from the quadratic equation
dict_ims
Dictionary to look up region geographies based on countries used in UN DESA International Migrant Stock.

Data

alabama_1970
Alabama population totals in 1960 and 1970 by age, sex and race
bombay_1951
Bombay population totals in 1941 and 1951 by age
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
italy_area
Single year age-specific origin destination migration flows between Italian NUTS1 areas
korea_gravity
Annual origin destination migration flows between Korean regions alongside selected geographic, economic and demographic variables.
manila_1970
Manila female population 1970 by age
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
usa_1960
US population totals in 1950 and 1960 by place of birth, age, sex and race