pkgdown/extra.scss

Skip to contents

Prepare data

Functions for downloading data

get_parameters()
Get projection parameters from FSO
get_population()
Get population data from FSO

Run projections

Function for running population projections

propop()
Project population development

Distribute migration

Functions and example data for distributing migration

calculate_shares()
Calculate shares for distributing immigration among subregions
calculate_rates()
Calculate emigration rates to subregions
ag_population_subregional
Population data for the canton of Aargau (five subregions)
ag_migration_subregional
Subregional migration records for the canton of Aargau (five subregions)

Evaluate projections

Functions to evaluate projection results

check_balance()
Check if population equation components add up within one year
prepare_evaluation()
Prepare data for evaluation
compute_measures()
Compute evaluation measures
aggregate_measures()
Aggregate evaluation measures

Sample data

Sample data from the Federal Statistical Office

fso_parameters
Sample parameters to run population projection
fso_population
Sample population data from the Federal Statistical Office

Deprecated functions

Functions are still operational but won’t be further maintained

propop_legacy()
Project population development
project_raw()
Project population development (raw results)