R: SOCSIM

# SOCSIM

## Documentation for package ‘rsocsim’ version 1.9.18

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

asYr | Convert SOCSIM months to calendar years.
census_socsim | Census SOCSIM: Population counts by sex and age.
create_initial_population | Create an initial population for a simulation
create_simulation_folder | Create a directory structure for the simulation
create_sup_file | Create a basic .sup file for a simulation
download_rates | Download and convert SOCSIM rate files
estimate_fertility_rates | Estimate yearly age-specific fertility rates (ASFR) from a SOCSIM-generated population file
estimate_mortality_rates | Estimate yearly age-specific mortality rates (ASMR) from a SOCSIM-generated population file
get_supervisory_content | Read a supervisory file
get_women_reproductive_age_socsim | Get women of reproductive age from SOCSIM population data.
jul | Get simulation month corresponding to July of a given year.
read_omar | Read output marriage file into a data frame
read_opop | Read output population file into a data frame
retrieve_kin | Identify members of a kin network for an individual or individuals of interest.
simulation_time_to_years | Calculate for how many years the simulation ran
socsim | Run a single Socsim simulation with a given supervisory file and directory
socsim_parallel | Run multiple SOCSIM jobs
yearly_birth_by_age_socsim | Estimate yearly number of births by mother’s age group in SOCSIM data.