Package: migest 2.0.5

migest: Methods for the Indirect Estimation of Bilateral Migration

Tools for estimating, measuring and working with migration data.

Authors:Guy J. Abel [aut, cre]

migest_2.0.5.tar.gz
migest_2.0.5.zip(r-4.5)migest_2.0.5.zip(r-4.4)migest_2.0.5.zip(r-4.3)
migest_2.0.5.tgz(r-4.4-any)migest_2.0.5.tgz(r-4.3-any)
migest_2.0.5.tar.gz(r-4.5-noble)migest_2.0.5.tar.gz(r-4.4-noble)
migest_2.0.5.tgz(r-4.4-emscripten)migest_2.0.5.tgz(r-4.3-emscripten)
migest.pdf |migest.html
migest/json (API)
NEWS

# Install 'migest' in R:
install.packages('migest', repos = c('https://guyabel.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/guyabel/migest/issues

Datasets:
  • 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
  • dict_ims - Dictionary to look up region geographies based on countries used in UN DESA International Migrant Stock.
  • 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
  • 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
  • uar_1960 - Lifetime migration data for Governorates of United Arab Republic in 1960
  • umbrella - Umbrella colour scheme
  • usa_1960 - US population totals in 1950 and 1960 by place of birth, age, sex and race

On CRAN:

demographymigrationpopulation

6.20 score 31 stars 86 scripts 560 downloads 2 mentions 37 exports 35 dependencies

Last updated 8 months agofrom:467d61e51b. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-winOKOct 27 2024
R-4.5-linuxOKOct 27 2024
R-4.4-winNOTEOct 27 2024
R-4.4-macNOTEOct 27 2024
R-4.3-winNOTEOct 27 2024
R-4.3-macNOTEOct 27 2024

Exports:%>%block_matrixblock_sumcm_netcm_net_totcm2cm3ffs_demoffs_diffffs_ratesindex_ageindex_age_rcindex_connectivityindex_distanceindex_impactindex_intensityipf2ipf2_blockipf2_stripeipf3mig_chordmulti_compmulti_comp2net_srnet_vsquadratic_eqnrescale_integer_sumrescale_netstr_wrap_nstripe_matrixsum_bilatsum_countrysum_expandsum_lumpsum_netsum_odsum_region

Dependencies:calibratecirclizeclicmmcolorspacecpp11dplyrfansiforcatsgenericsGlobalOptionsgluelifecyclemagrittrMASSmatrixStatsmigration.indicesmipfpnumDerivpillarpkgconfigpurrrR6rlangRsolnpshapestringistringrtibbletidyrtidyselecttruncnormutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Methods for the Indirect Estimation of Bilateral Migrationmigest-package migest
Alabama population totals in 1960 and 1970 by age, sex and racealabama_1970
Calculate births for each element of place of birth - place of residence stock matrixbirth_mat
Create a block matrix with non-uniform block sizes.block_matrix
Sum over a selected block in a block matrixblock_sum
Bombay population totals in 1941 and 1951 by agebombay_1951
Conditional maximization routine for the indirect estimation of origin-destination-type migration flow tables with known net migration totals.cm_net
Conditional maximization routine for the indirect estimation of origin-destination-type migration flow tables with known net migration and grand totals.cm_net_tot
Conditional maximization routine for the indirect estimation of origin-destination migration flow table with known marginscm2
Conditional maximization routine for the indirect estimation of origin-destination-migrant type migration flow tables with known origin and destination margins.cm3
Calculate deaths for each element of place of birth - place of residence stock matrixdeath_mat
Dictionary to look up region geographies based on countries used in UN DESA International Migrant Stock.dict_ims
Estimation of bilateral migrant flows from bilateral migrant stocks using demographic accounting approachesffs ffs_demo
Estimation of bilateral migrant flows from bilateral migrant stocks using stock differencing approachesffs_diff
Estimation of bilateral migrant flows from bilateral migrant stocks using rates approachesffs_rates
Summary indices of migration age profileindex_age
Summary indices of age migration profile based on parameters from a Rogers and Castro scheduleindex_age_rc
Summary indices of migration connectivityindex_connectivity
Summary indices of migration distanceindex_distance
Summary indices of migration impactindex_impact
Summary indices of migration intensityindex_intensity
Lifetime migration totals for states and zones in the Indian 1901 to 1931indian_sub
Quickly create IPF seedipf_seed
Iterative proportional fitting routine for the indirect estimation of origin-destination migration flow table with known margins.ipf2
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_block
iterative proportional fitting routine for the indirect estimation of origin-destination-type migration flow tables with known origin and destination margins and stripe elements.ipf2_stripe
Iterative proportional fitting routine for the indirect estimation of origin-destination-migrant type migration flow tables with known origin and destination margins.ipf3
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_qi
Age specific migration and population counts from two IPUMSI samplesipumsi_age
Single year age-specific origin destination migration flows between Italian NUTS1 areasitaly_area
Annual origin destination migration flows between Korean regions alongside selected geographic, economic and demographic variables.korea_gravity
Manila female population 1970 by agemanila_1970
Adjust migrant stock tables to have matching place of birth (origin) totalsmatch_birthplace_tot
Chord diagram for directional origin-destination datamig_chord
Helper function to format migration inputmig_matrix
Helper function to format migration inputmig_tibble
Multiplicative component description of origin-destination migration flow tablesmulti_comp
Multiplicative component descriptions of origin-destination flow tables based on total reference coding system.multi_comp2
Handle negative native born populationsnb_non_zero
Scale native born populations to match global differences in births and deaths over periodnb_scale_global
Count the number of characters per linenchars_wrap
Estimate net migration from survival ratios applied to lifetime migration datanet_sr
Estimate net migration from vital statisticsnet_vs
New England male white-native population totals in 1950 and 1960 by place of birth and agenew_england_1960
Solutions from the quadratic equationquadratic_eqn
Fundamental parameters for Rogers-Castro migration schedulerc_model_fund
Model parameters for six Rogers-Castro migration schedules proposed by UN DESArc_model_un
Rescale integer vector to a set sumrescale_integer_sum
Rescale net migration total to a global zero sumrescale_net
Wrap character string to fit a target number of linesstr_wrap_n
Single line wrap for stringstr_wrap_n_single
Create a stripped matrix with non-uniform block sizes.stripe_matrix
Summary of bilateral flows, counter-flow and net migration flowsum_bilat
Sum bilateral data to include aggregate bilateral totals for origin and destination meta areassum_expand
Sum and lump together small flows into a "other" categorysum_lump
Calculate net migration from an origin-destination migration flow matrix.sum_net
Extract a classic origin-destination migration flow matrix.sum_od
Summary of regional in-, out-, turnover and net-migration totals from an origin-destination migration flow matrix or data frame.sum_country sum_region
Lifetime migration data for Governorates of United Arab Republic in 1960uar_1960
Umbrella colour schemeumbrella
US population totals in 1950 and 1960 by place of birth, age, sex and raceusa_1960