samthiriot / gosp.dpp

the direct probabilistic pairing method for generation of synthetic populations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis-CI Build Status

gosp.dpp

Generation of Synthetic Populations: Direct Probabilistic Pairing

user install

From R, you can install it in 2 steps only:

install the devtools package

install.packages("devtools")

then use it to install the package from github

library(devtools)
install_github("samthiriot/gosp.dpp")

you would also better install the optional dependancies:

install.packages(c("ggplot2", "gridExtra", "igraph", "mipfp"))

first steps

To help you start with the method and package, you might have a look to the vignettes:

developer install

clone the repository

from inside the clone

install.packages(c("devtools", "rhub", "knitr", "rmarkdown", "roxygen2"))
library(devtools)
devtools::install()
devtools::load_all()

enjoy!

releasing

generate the data

library(devtools)
devtools::install()
source("data-raw/dwellings_households.R")

run local tests

library(devtools)
devtools::test()

check the package locally

library(devtools)
devtools::check(manual=TRUE, vignette=TRUE)

build the vignettes

build_vignettes()

check on various platforms

before release, we test the package on Windows, MacOSX and Linux

library(rhub)
check()

update comments for CRAN: if relevant, update the comments in cran-comments.md

About

the direct probabilistic pairing method for generation of synthetic populations

License:GNU General Public License v2.0


Languages

Language:R 100.0%