Skip to content

Commit

Permalink
add use.wpp.data to meta if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
hanase committed Dec 5, 2024
1 parent 745d604 commit 2c63066
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: bayesLife
Type: Package
Title: Bayesian Projection of Life Expectancy
Version: 5.3-0
Date: 2024-11-01
Version: 5.3-0.9001
Date: 2024-12-04
Authors@R: c(person(given = "Hana",
family = "Sevcikova",
role = c("cre", "aut"),
Expand Down
1 change: 1 addition & 0 deletions R/get_outputs.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ get.e0.mcmc <- function(sim.dir = file.path(getwd(), 'bayesLife.output'),
load(file = mcmc.file.path)
bayesLife.mcmc.meta$output.dir <- normalizePath(sim.dir)
if(is.null(bayesLife.mcmc.meta$annual.simulation)) bayesLife.mcmc.meta$annual.simulation <- FALSE
if(is.null(bayesLife.mcmc.meta$use.wpp.data)) bayesLife.mcmc.meta$use.wpp.data <- TRUE
if(is.null(bayesLife.mcmc.meta$mcmc.options)) {
bayesLife.mcmc.meta <- .convert.meta.from.legacy.form(bayesLife.mcmc.meta)
}
Expand Down
2 changes: 1 addition & 1 deletion man/convert.trajectories.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ convert.e0.trajectories(dir = file.path(getwd(), "bayesLife.output"),
}
\details{
The function creates two files per sex. One is called \dQuote{ascii_trajectories.csv}, it is a comma-separated table with the following columns:
\itemize{\item{\dQuote{LocID}: }{country code}
\describe{\item{\dQuote{LocID}: }{country code}
\item{\dQuote{Period}: }{prediction interval, e.g. 2015-2020}
\item{\dQuote{Year}: }{middle year of the prediction interval}
\item{\dQuote{Trajectory}: }{identifier of the trajectory}
Expand Down

0 comments on commit 2c63066

Please sign in to comment.