Generates synthetic genealogical populations at (small) country scale.
You will need the following installed on your system to run ValiPop:
You will also need to install the geepack
R package, which can be done by running the following command:
# Open a terminal (Windows/MacOs/Linux)
# Install the geepack R package on your system
R -e "install.packages('geepack', repos = c(CRAN = 'https://cloud.r-project.org'))"
ValiPop can be run with Java using its JAR file. To install the latest ValiPop JAR file, you can visit the releases page.
Run the following command to run ValiPop:
java -jar valipop.jar
Instead of downloading the latest JAR file, you can also build it directly from source.
This will require the following dependencies installed:
Then you can follow these steps to build the JAR:
# Open a terminal
# Clone the repository
git clone https://github.com/stacs-srg/valipop
# Navigate to the project repository
cd valipop
# Installing dependencies, compiling, and packaging into JARs
mvn clean package -Dmaven.test.skip -Dmaven.repo.local=repository
# The build should be in `target/`, including the runnable JARs
# "valipop-x.0-SNAPSHOT-jar-with-dependencies.jar" is the main executable JAR