Package: phsmethods 1.0.2

Tina Fu

phsmethods: Standard Methods for Use in Public Health Scotland

A collection of methods for commonly undertaken analytical tasks, primarily developed for Public Health Scotland (PHS) analysts, but the package is also generally useful to others working in the healthcare space, particularly since it has functions for working with Community Health Index (CHI) numbers. The package can help to make data manipulation and analysis more efficient and reproducible.

Authors:Public Health Scotland [cph], David Caldwell [aut], Lucinda Lawrie [rev], Jack Hannah [aut], Tina Fu [aut, cre], Ciara Gribben [aut], Chris Deans [aut], Jaime Villacampa [aut], Graeme Gowans [aut], Alice Byers [ctb], Alan Yeung [ctb], James McMahon [aut], Nicolaos Christofidis [aut]

phsmethods_1.0.2.tar.gz
phsmethods_1.0.2.zip(r-4.5)phsmethods_1.0.2.zip(r-4.4)phsmethods_1.0.2.zip(r-4.3)
phsmethods_1.0.2.tgz(r-4.5-any)phsmethods_1.0.2.tgz(r-4.4-any)phsmethods_1.0.2.tgz(r-4.3-any)
phsmethods_1.0.2.tar.gz(r-4.5-noble)phsmethods_1.0.2.tar.gz(r-4.4-noble)
phsmethods_1.0.2.tgz(r-4.4-emscripten)phsmethods_1.0.2.tgz(r-4.3-emscripten)
phsmethods.pdf |phsmethods.html
phsmethods/json (API)
NEWS

# Install 'phsmethods' in R:
install.packages('phsmethods', repos = c('https://public-health-scotland.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/public-health-scotland/phsmethods/issues

Pkgdown site:https://public-health-scotland.github.io

Datasets:
  • area_lookup - Codes and names of Scottish geographical and administrative areas.

On CRAN:

Conda:

7.71 score 55 stars 85 scripts 197 downloads 18 exports 38 dependencies

Last updated 4 months agofrom:d816bede82. Checks:4 OK, 5 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 19 2025
R-4.5-winOKMar 19 2025
R-4.5-macOKMar 19 2025
R-4.5-linuxOKMar 19 2025
R-4.4-winNOTEMar 19 2025
R-4.4-macNOTEMar 19 2025
R-4.4-linuxNOTEMar 19 2025
R-4.3-winNOTEMar 19 2025
R-4.3-macNOTEMar 19 2025

Exports:age_calculateage_from_chiage_groupchi_checkchi_padcreate_age_groupsdob_from_chiextract_fin_yearfile_sizefin_yearformat_postcodematch_areapostcodeqtrqtr_endqtr_nextqtr_prevsex_from_chi

Dependencies:bitbit64clicliprcolorspacecpp11crayondplyrfansifarvergenericsgluehmslabelinglifecyclelubridatemagrittrmunsellpillarpkgconfigprettyunitsprogressR6RColorBrewerreadrrlangscalesstringistringrtibbletidyselecttimechangetzdbutf8vctrsviridisLitevroomwithr

Working with CHI numbers

Rendered fromchi-operations.Rmdusingknitr::rmarkdownon Mar 19 2025.

Last update: 2023-11-28
Started: 2023-11-28