Display the available sitrep templates

available_sitrep_templates(categorise = FALSE, ...)

Arguments

categorise

if TRUE, the results are split into a list of outbreak and survey categories. Defaults to FALSE.

...

options to pass on to dir

Value

a vector of available templates in the sitrep package

Examples

available_sitrep_templates(categorise = TRUE)
#> $outbreak
#>  [1] "ajs_intersectional_outbreak"        "ajs_outbreak"                      
#>  [3] "ajs_outbreak_recode"                "cholera_intersectional_outbreak"   
#>  [5] "cholera_outbreak"                   "cholera_outbreak_recode"           
#>  [7] "diphtheria_intersectional_outbreak" "intersectional_outbreak_recode"    
#>  [9] "measles_intersectional_outbreak"    "measles_outbreak"                  
#> [11] "measles_outbreak_recode"            "meningitis_intersectional_outbreak"
#> [13] "meningitis_outbreak"                "meningitis_outbreak_recode"        
#> 
#> $survey
#> [1] "ebs"                      "mortality"               
#> [3] "mortality_recode"         "nutrition"               
#> [5] "nutrition_recode"         "vaccination_long"        
#> [7] "vaccination_long_recode"  "vaccination_short"       
#> [9] "vaccination_short_recode"
#> 
available_sitrep_templates(categorise = TRUE, full.names = TRUE)
#> $outbreak
#>  [1] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/ajs_intersectional_outbreak"       
#>  [2] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/ajs_outbreak"                      
#>  [3] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/ajs_outbreak_recode"               
#>  [4] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/cholera_intersectional_outbreak"   
#>  [5] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/cholera_outbreak"                  
#>  [6] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/cholera_outbreak_recode"           
#>  [7] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/diphtheria_intersectional_outbreak"
#>  [8] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/intersectional_outbreak_recode"    
#>  [9] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/measles_intersectional_outbreak"   
#> [10] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/measles_outbreak"                  
#> [11] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/measles_outbreak_recode"           
#> [12] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/meningitis_intersectional_outbreak"
#> [13] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/meningitis_outbreak"               
#> [14] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/meningitis_outbreak_recode"        
#> 
#> $survey
#> [1] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/ebs"                     
#> [2] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/mortality"               
#> [3] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/mortality_recode"        
#> [4] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/nutrition"               
#> [5] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/nutrition_recode"        
#> [6] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/vaccination_long"        
#> [7] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/vaccination_long_recode" 
#> [8] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/vaccination_short"       
#> [9] "/home/runner/work/_temp/Library/sitrep/rmarkdown/templates/vaccination_short_recode"
#>