{
  "_id": "6a0f5d69acfb0bcc41c5a5bf",
  "Package": "SangerTools",
  "Type": "Package",
  "Title": "Tools for Population Health Management Analytics",
  "Version": "1.0.3",
  "Authors@R": "c(\nperson(\"Asif\", \"Laldin\", , \"laldin.asif@gmail.com\", c(\"aut\", \"cre\")),\nperson(\"Gary\", \"Hutson\", ,\"hutsons-hacks@outlook.com\", \"aut\", comment = c(ORCID=\"0000-0003-3534-6143\"))\n)",
  "Maintainer": "Asif Laldin <laldin.asif@gmail.com>",
  "Description": "Created for population health analytics and monitoring.\nThe functions in this package work best when working with\npatient level Master Patient Index-like datasets . Built to be\nused by NHS bodies and other health service providers.",
  "License": "AGPL (>= 3)",
  "URL": "https://github.com/ald0405/SangerTools,\nhttps://ald0405.github.io/SangerTools/",
  "BugReports": "https://github.com/ald0405/SangerTools/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Language": "en-gb",
  "Config/pak/sysreqs": "make libicu-dev libjpeg-dev libpng-dev libxml2-dev\nunixodbc-dev libssl-dev libx11-dev",
  "Repository": "https://ald0405.r-universe.dev",
  "Date/Publication": "2026-05-21 13:18:19 UTC",
  "RemoteUrl": "https://github.com/ald0405/sangertools",
  "RemoteRef": "HEAD",
  "RemoteSha": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 16:32:17 UTC",
    "User": "root"
  },
  "Author": "Asif Laldin [aut, cre],\nGary Hutson [aut] (ORCID: <https://orcid.org/0000-0003-3534-6143>)",
  "MD5sum": "78995e7a1b051bcb3dee6d28b0b04824",
  "_user": "ald0405",
  "_type": "src",
  "_file": "SangerTools_1.0.3.tar.gz",
  "_fileid": "223e949e2ffff5344c085c853d1f1d9875b32316e1abb4539b159da32adc84aa",
  "_filesize": 786472,
  "_sha256": "223e949e2ffff5344c085c853d1f1d9875b32316e1abb4539b159da32adc84aa",
  "_created": "2026-05-21T16:32:17.000Z",
  "_published": "2026-05-21T19:30:49.020Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77252339223,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7141607351"
    },
    {
      "job": 77252339451,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7141604846"
    },
    {
      "job": 77252339302,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7141586050"
    },
    {
      "job": 77252339168,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7141587580"
    },
    {
      "job": 77252339006,
      "time": 244,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7141544614"
    },
    {
      "job": 77252338861,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145294162"
    },
    {
      "job": 77252339260,
      "time": 181,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7141609659"
    },
    {
      "job": 77252339626,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7141581083"
    },
    {
      "job": 77252339618,
      "time": 117,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7141586998"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ald0405/sangertools",
  "_commit": {
    "id": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
    "author": "ald0405 <38423717+ald0405@users.noreply.github.com>",
    "committer": "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>",
    "message": "chore: re-render demo notebook [skip ci]\n",
    "time": 1779369499
  },
  "_maintainer": {
    "name": "Asif Laldin",
    "email": "laldin.asif@gmail.com",
    "login": "ald0405",
    "description": "@BeaNuman  \n\nlaldin.asif@gmail.com",
    "uuid": 38423717
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "ggtext",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "odbc",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "ald0405",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "nhs",
    "nhs-r-community",
    "population-health",
    "prevalence"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "ald0405",
      "count": 102,
      "uuid": 38423717
    }
  ],
  "_userbio": {
    "uuid": 38423717,
    "type": "user",
    "name": "Asif Laldin",
    "description": "@BeaNuman  \r\n\r\nlaldin.asif@gmail.com"
  },
  "_downloads": {
    "count": 238,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SangerTools"
  },
  "_devurl": "https://github.com/ald0405/sangertools",
  "_searchresults": 48,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SangerTools.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ald0405/sangertools",
  "_realowner": "ald0405",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2022-01-06"
    },
    {
      "version": "1.0.2",
      "date": "2022-02-20"
    }
  ],
  "_exports": [
    "%>%",
    "age_bandizer",
    "age_bandizer_2",
    "categorical_col_chart",
    "cohort_processing",
    "crude_rates",
    "df_to_sql",
    "excel_clip",
    "multiple_csv_reader",
    "multiple_excel_reader",
    "scale_fill_sanger",
    "show_brand_palette",
    "show_extended_palette",
    "split_and_save",
    "standardised_rates_df",
    "theme_sanger"
  ],
  "_datasets": [
    {
      "name": "master_patient_index",
      "title": "Master Patient Index",
      "object": "master_patient_index",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Smoker",
        "Diabetes",
        "Dementia",
        "Obesity",
        "Age",
        "IMD_Decile",
        "Ethnicity",
        "Locality",
        "PrimaryCareNetwork"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    },
    {
      "name": "PopHealthData",
      "title": "PopHealthData - Population health data for testing functions",
      "object": "PopHealthData",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Smoker",
        "Diabetes",
        "AgeBand",
        "IMD_Decile",
        "Ethnicity",
        "Locality",
        "PrimaryCareNetwork"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "uk_pop_standard",
      "title": "Data set of 2018 UK Population",
      "object": "uk_pop_standard",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "UK_Population",
        "Ageband"
      ],
      "rows": 21,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "age_bandizer",
      "title": "Age Band Creation: Create a new column of 5 year Age Bands from an integer column",
      "topics": [
        "age_bandizer"
      ]
    },
    {
      "page": "age_bandizer_2",
      "title": "Create age bands from a numerical column",
      "topics": [
        "age_bandizer_2"
      ]
    },
    {
      "page": "categorical_col_chart",
      "title": "Plot Counts of Categorical Variables",
      "topics": [
        "categorical_col_chart"
      ]
    },
    {
      "page": "cohort_processing",
      "title": "Patient Cohort Re-Identification Processing",
      "topics": [
        "cohort_processing"
      ]
    },
    {
      "page": "crude_rates",
      "title": "Crude Prevalence Calculator",
      "topics": [
        "crude_rates"
      ]
    },
    {
      "page": "df_to_sql",
      "title": "Dataframe to SQL",
      "topics": [
        "df_to_sql"
      ]
    },
    {
      "page": "excel_clip",
      "title": "Dataframe or Tibble to Clipboard",
      "topics": [
        "excel_clip"
      ]
    },
    {
      "page": "master_patient_index",
      "title": "Master Patient Index",
      "topics": [
        "master_patient_index"
      ]
    },
    {
      "page": "multiple_csv_reader",
      "title": "Read Multiple CSV files into R",
      "topics": [
        "multiple_csv_reader"
      ]
    },
    {
      "page": "multiple_excel_reader",
      "title": "Read Multiple Excel files into R",
      "topics": [
        "multiple_excel_reader"
      ]
    },
    {
      "page": "PopHealthData",
      "title": "PopHealthData - Population health data for testing functions",
      "topics": [
        "PopHealthData"
      ]
    },
    {
      "page": "scale_fill_sanger",
      "title": "Branded discrete colour scale",
      "topics": [
        "scale_fill_sanger"
      ]
    },
    {
      "page": "show_brand_palette",
      "title": "Brand Colour Palette",
      "topics": [
        "show_brand_palette"
      ]
    },
    {
      "page": "show_extended_palette",
      "title": "Extended Brand Colour Palette",
      "topics": [
        "show_extended_palette"
      ]
    },
    {
      "page": "split_and_save",
      "title": "Split & Save",
      "topics": [
        "split_and_save"
      ]
    },
    {
      "page": "standardised_rates_df",
      "title": "Standardised Prevalence Rates.",
      "topics": [
        "standardised_rates_df"
      ]
    },
    {
      "page": "theme_sanger",
      "title": "Customised ggplot2 Theme",
      "topics": [
        "theme_sanger"
      ]
    },
    {
      "page": "uk_pop_standard",
      "title": "Data set of 2018 UK Population",
      "topics": [
        "uk_pop_standard"
      ]
    }
  ],
  "_readme": "https://github.com/ald0405/sangertools/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "blob",
    "cellranger",
    "cli",
    "clipr",
    "commonmark",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "ggtext",
    "ggthemes",
    "glue",
    "gridtext",
    "gtable",
    "hms",
    "isoband",
    "janitor",
    "jpeg",
    "labeling",
    "lifecycle",
    "litedown",
    "lubridate",
    "magrittr",
    "markdown",
    "odbc",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "S7",
    "scales",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "demo-data-and-functions.Rmd",
      "filename": "demo-data-and-functions.html",
      "title": "Demo: Data and Functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Bundled datasets",
        "PopHealthData",
        "master_patient_index",
        "uk_pop_standard",
        "Function gallery",
        "Wrangling",
        "age_bandizer() — fixed 5-year bands",
        "age_bandizer_2() — configurable band width",
        "cohort_processing() and split_and_save()",
        "Analytics",
        "crude_rates()",
        "standardised_rates_df()",
        "Charts and theming",
        "categorical_col_chart() + theme_sanger() + scale_fill_sanger()",
        "Palette previews",
        "I/O",
        "excel_clip()",
        "df_to_sql()",
        "multiple_csv_reader() / multiple_excel_reader()",
        "Putting it together"
      ],
      "created": "2026-05-21 13:16:31",
      "modified": "2026-05-21 13:16:31",
      "commits": 1
    },
    {
      "source": "SangerTools_Vignette.Rmd",
      "filename": "SangerTools_Vignette.html",
      "title": "SangerTools Vignette",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Welcome to the SangerTools package",
        "Loading in Health Data",
        "Age bands",
        "Generating a categorical column chart easily",
        "Crude Prevalence",
        "Age Standardised Rates",
        "Age Standardised Rates with User Defined Population Structure",
        "Load 2018 UK Population Structure",
        "UK Age Standardised Diabetes Prevalence",
        "Combining Results",
        "Excel Clipboard function",
        "Multiple CSV reader",
        "Splitting Dataframes and Saving",
        "Results to SQL",
        "See Brand Colours",
        "See More Colours",
        "Closing"
      ],
      "created": "2021-12-24 12:02:56",
      "modified": "2022-02-20 12:52:57",
      "commits": 9
    }
  ],
  "_score": 5.380211241711606,
  "_indexed": true,
  "_nocasepkg": "sangertools",
  "_universes": [
    "ald0405"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-21T16:34:59.000Z",
      "distro": "noble",
      "commit": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
      "fileid": "e241c005de6eec4d2e1bbdd6c859044d3dca7bbf2470d38ec5c71627f5fabbf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-21T16:34:54.000Z",
      "distro": "noble",
      "commit": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
      "fileid": "497af1ba9f1532b27193f91a5bd940e02030b35e4e402af5d397bd4facf8cc5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-21T16:34:02.000Z",
      "commit": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
      "fileid": "3d0710f11635d605bfb1de81d8f39fb1c72c8238b8739ba66cdf16986b416504",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-21T16:34:13.000Z",
      "commit": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
      "fileid": "e3860d11eb00fec9e5b841020be6a9d79cc0886a2c54a896b9aeec856c6b4ca3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-21T19:30:30.000Z",
      "commit": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
      "fileid": "09d0ed118d6931a6747ffc30ab361274fb120d2cd1f81546410042549511cd03",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-21T16:34:59.000Z",
      "commit": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
      "fileid": "92835562cd8856623d09adc28212643e7516a28440fe7f5b9a01e8386797555f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-21T16:33:39.000Z",
      "commit": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
      "fileid": "f7118f059b8445d7310be101dbed38b677cc5a4998689913033b6a9c12d541c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-21T16:33:54.000Z",
      "commit": "7e54b5a8a01bb0ac5db6f291edd1cfff46bbd665",
      "fileid": "c97fcc8181ad28d8e5388115509aad0b3599246afaa3babb136086f5a7c902b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ald0405/actions/runs/26239037634"
    }
  ]
}