Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
First attempt at merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jkamins7 committed Apr 29, 2022
2 parents 8a01685 + 22d437e commit ad3efa6
Show file tree
Hide file tree
Showing 26 changed files with 4,784 additions and 969 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ test/*/Makefile

# RStudio files
.Rproj.user/
COVIDScenarioPipeline.Rproj

# produced vignettes
vignettes/*.html
Expand All @@ -72,3 +73,8 @@ packrat/lib*/
build/
dist/
SEIR.egg-info/
Outcomes.egg-info/
.Rproj.user

# R package manuals
man/
6 changes: 6 additions & 0 deletions R/pkgs/covidcommon/R/DataUtils.R
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,12 @@ get_groundtruth_from_source <- function(
run_parallel = FALSE) %>%
dplyr::select(Update, FIPS, source, !!variables)

} else if((source == 'hhsCMU') && (scale == "US state")) {
warning("This code is almost certainly broken")
hosp <- get_hhsCMU_incidH_st_data()
hosp <- hosp %>% dplyr::select(-FIPS)
rc <- hosp
stop("This code is almost certainly broken")
} else if(source == "file"){

rc <- get_gt_file_data(source_file)
Expand Down
2 changes: 1 addition & 1 deletion R/pkgs/hospitalization/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Description: Generate hospitalization scenarios corresponding to the infection s
License: What license it uses
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.0
RoxygenNote: 7.1.1
7 changes: 6 additions & 1 deletion R/pkgs/inference/NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Generated by roxygen2: do not edit by hand

export(accept_reject_new_seeding_npis)
export(add_perturb_column_hnpi)
export(add_perturb_column_snpi)
export(aggregate_and_calc_loc_likelihoods)
export(calc_hierarchical_likadj)
export(calc_prior_likadj)
Expand All @@ -18,13 +20,16 @@ export(logLikStat)
export(multi_hosp_run)
export(multi_loc_inference_test)
export(npis_dataframe)
export(perform_MCMC_step_copies)
export(perform_MCMC_step_copies_chimeric)
export(perform_MCMC_step_copies_global)
export(periodAggregate)
export(perturb_expand_npis)
export(perturb_hnpi)
export(perturb_hnpi_from_file)
export(perturb_hpar)
export(perturb_seeding)
export(perturb_snpi)
export(perturb_snpi_from_file)
export(simulate_multi_epi)
export(simulate_single_epi)
export(single_hosp_run)
Expand Down
Loading

0 comments on commit ad3efa6

Please sign in to comment.