Swiftpack.co - Package - CUD2V/pccc


Pediatric Complex Chronic Conditions: A R Package

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status Coverage Status CRAN_Status_Badge


Version 2 of the Pediatric Complex Chronic Conditions (CCC) system was published "Pediatric complex chronic conditions classification system version 2: updated for ICD-10 and complex medical technology dependence and transplantation" by Chris Feudtner, James A Feinstein, Wenjun Zhong, Matt Hall and Dingwei Dai.

SAS and STATA scripts to generate CCC categories from ICD codes were provided by Feudtner et al. as an appendix to the above manuscript. However, those scripts can take many hours to run on large datasets.

This package provides R functions to generate the CCC categories. Because the R functions are built with a C++ back-end, they are very computationally efficient.

Testing and Benchmarking

The PCCC package uses the R library testthat for unit tests. All tests are automatically run upon running the "devtools::install_github" command shown below.

Some additional tests on large datasets were developed by Peter DeWitt and are available at https://github.com/CUD2V/pccc-testing. As 2 of the 3 require special license agreements for data access, they are not included with this repository.



Version 1.0.2 is available on The Comprehensive R Archive Network at https://CRAN.R-project.org/package=pccc.

Developmental version

You can install the developmental version of pccc directly from github using the devtools package:

if (!("devtools" %in% rownames(installed.packages()))) { 
  warning("installing devtools from https://cran.rstudio.com")
  install.packages("devtools", repo = "https://cran.rstudio.com")

devtools::install_github("CUD2V/pccc", build_vignettes = TRUE)

NOTE: If you are working on a Windows machine you will need to download and install Rtools before devtools will work for you.

If you are on a Linux machine or have GNU make configured you should be able to build and install this package by cloning the repository and running

make install


Stars: 0
Help us keep the lights on


Used By

Total: 0


1.0.2 - Jul 2, 2018

Removed unnecessary initializer that causes problems with pre-C++11 compilers

1.0.1 - Mar 16, 2018

Resolved issue where null argument to rlang (sub-dependency of dpylr) previously worked but now fails with latest rlang release.

v1.0.0 - Dec 13, 2017

Tagging first release to CRAN. Function calls and API should be stable. Now seeking feedback for additional features or users to test on their own data.

v0.2.2 - Aug 10, 2017