Package: rsocsim 1.9.18
rsocsim: SOCSIM
Tools for preparing inputs, running SOCSIM (SOCial SIMulator) demographic kinship microsimulations, and reading simulation outputs from R. The package includes helpers for creating simulation folders, downloading demographic rate schedules, starting simulations, and loading population and marriage result files.
Authors:
rsocsim_1.9.18.tar.gz
rsocsim_1.9.18.zip(r-4.7)rsocsim_1.9.18.zip(r-4.6)rsocsim_1.9.18.zip(r-4.5)
rsocsim_1.9.18.tgz(r-4.6-x86_64)rsocsim_1.9.18.tgz(r-4.6-arm64)rsocsim_1.9.18.tgz(r-4.5-x86_64)rsocsim_1.9.18.tgz(r-4.5-arm64)
rsocsim_1.9.18.tar.gz(r-4.7-arm64)rsocsim_1.9.18.tar.gz(r-4.7-x86_64)rsocsim_1.9.18.tar.gz(r-4.6-arm64)rsocsim_1.9.18.tar.gz(r-4.6-x86_64)
rsocsim_1.9.18.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
rsocsim/json (API)
NEWS
| # Install 'rsocsim' in R: |
| install.packages('rsocsim', repos = c('https://mpidr.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mpidr/rsocsim/issues
Pkgdown/docs site:https://mpidr.github.io
Last updated from:125450cff9. Checks:11 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | WARNING | 141 | ||
| linux-devel-x86_64 | WARNING | 129 | ||
| source / vignettes | OK | 194 | ||
| linux-release-arm64 | WARNING | 166 | ||
| linux-release-x86_64 | WARNING | 128 | ||
| macos-release-arm64 | WARNING | 134 | ||
| macos-release-x86_64 | WARNING | 492 | ||
| macos-oldrel-arm64 | WARNING | 193 | ||
| macos-oldrel-x86_64 | WARNING | 391 | ||
| windows-devel | WARNING | 147 | ||
| windows-release | WARNING | 115 | ||
| windows-oldrel | WARNING | 97 | ||
| wasm-release | OK | 110 |
Exports:asYrcensus_socsimcreate_initial_populationcreate_simulation_foldercreate_sup_filedownload_ratesestimate_fertility_ratesestimate_mortality_ratesget_supervisory_contentget_women_reproductive_age_socsimjulread_omarread_opopretrieve_kinsimulation_time_to_yearssocsimsocsim_parallelyearly_birth_by_age_socsim
Dependencies:clicpp11dplyrgenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrtibbletidyrtidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Create a directory structure for the simulation | create_simulation_folder |
| Create a basic .sup file for a simulation | create_sup_file |
| Estimate yearly age-specific fertility rates (ASFR) from a SOCSIM-generated population file | estimate_fertility_rates |
| Estimate yearly age-specific mortality rates (ASMR) from a SOCSIM-generated population file | estimate_mortality_rates |
| Read output marriage file into a data frame | read_omar |
| Read output population file into a data frame | read_opop |
| Identify members of a kin network for an individual or individuals of interest. | retrieve_kin |
| Calculate for how many years the simulation ran | simulation_time_to_years |
| Run a single Socsim simulation with a given supervisory file and directory | socsim |
