#clean the surveillance data
vig <- vig_bruto |>
clean_names()
#> Error in `clean_names()`:
#> ! could not find function "clean_names"
#make a horizontal bar plot of cases per district, filled by sex
ggplot(data = Vig,
mapping = aes(y = adm3_nome_res, fill = sexo) ) + geom_bar()
#> Error in `ggplot()`:
#> ! could not find function "ggplot"
Created on 2026-08-25 with reprex v2.1.1
Session info
sessionInfo()
#> R version 4.6.1 (2026-06-24 ucrt)
#> Platform: x86_64-w64-mingw32/x64
#> Running under: Windows 11 x64 (build 26200)
#>
#> Matrix products: default
#> LAPACK version 3.12.1
#>
#> locale:
#> [1] LC_COLLATE=English_United States.utf8
#> [2] LC_CTYPE=English_United States.utf8
#> [3] LC_MONETARY=English_United States.utf8
#> [4] LC_NUMERIC=C
#> [5] LC_TIME=English_United States.utf8
#>
#> time zone: Africa/Maputo
#> tzcode source: internal
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] digest_0.6.39 fastmap_1.2.0 xfun_0.60 glue_1.8.1
#> [5] knitr_1.51 htmltools_0.5.9 rmarkdown_2.31 lifecycle_1.0.5
#> [9] cli_3.6.6 vctrs_0.7.3 reprex_2.1.1 withr_3.0.3
#> [13] compiler_4.6.1 rstudioapi_0.19.0 tools_4.6.1 pillar_1.11.1
#> [17] evaluate_1.0.5 yaml_2.3.12 otel_0.2.0 rlang_1.3.0
#> [21] fs_2.1.0