{
  "_id": "6a5221f09b92047c28d547af",
  "Package": "pft",
  "Type": "Package",
  "Title": "Pulmonary Function Test Interpretation per ERS/ATS 2022",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(given = \"Pat\",   family = \"Johnson\",   email = \"johnson.pat@mayo.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-8365-1375\")),\nperson(given = \"Scott\", family = \"Helgeson\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-7590-2293\")),\nperson(given = \"Zach\",  family = \"Quicksall\",\nrole = \"ctb\"),\nperson(given = \"Jairo\", family = \"Pena\",\nrole = \"ctb\")\n)",
  "Description": "Computes predicted values and lower/upper limits of normal\nfor pulmonary function tests according to American Thoracic\nSociety ('ATS') and European Respiratory Society ('ERS')\nreference standards. Supports spirometry (Global Lung Function\nInitiative 'GLI' 2012, Quanjer et al. (2012)\n<doi:10.1183/09031936.00080312>; and the race-neutral 'GLI'\n2022 / 'GLI Global' equations, Bowerman et al. (2023)\n<doi:10.1164/rccm.202205-0963OC>), static lung volumes ('GLI'\n2021, Hall et al. (2021) <doi:10.1183/13993003.00289-2020>),\nand the carbon monoxide transfer factor / diffusion capacity\n('GLI' 2017, Stanojevic et al. (2017)\n<doi:10.1183/13993003.00010-2017>, including the 2020 author\ncorrection <doi:10.1183/13993003.50010-2017>). Also assigns\ninterpretive pattern labels (Normal, Non-specific, Obstructed,\nRestricted, Mixed) from spirometry and lung-volume measurements\nfollowing the 'ERS'/'ATS' 2022 interpretation algorithm,\nStanojevic et al. (2022) <doi:10.1183/13993003.01499-2021>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/overdodactyl/pft",
  "BugReports": "https://github.com/overdodactyl/pft/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-11 10:54:58 UTC",
    "User": "root"
  },
  "Author": "Pat Johnson [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8365-1375>), Scott Helgeson [aut]\n(ORCID: <https://orcid.org/0000-0001-7590-2293>), Zach\nQuicksall [ctb], Jairo Pena [ctb]",
  "Maintainer": "Pat Johnson <johnson.pat@mayo.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-11 08:30:13 UTC",
  "RemoteUrl": "https://github.com/cran/pft",
  "RemoteRef": "HEAD",
  "RemoteSha": "d172ea94a73cc8f306da3d612181304938c70349",
  "_user": "cran",
  "_type": "src",
  "_file": "pft_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/4177e638447136a3f766aa41a4cc91f051de855c12e6472773f09904e144ab0d",
  "_filesize": 943849,
  "_sha256": "4177e638447136a3f766aa41a4cc91f051de855c12e6472773f09904e144ab0d",
  "_expires": "2026-10-19T10:58:55.000Z",
  "_created": "2026-07-11T10:54:58.000Z",
  "_published": "2026-07-11T10:58:56.977Z",
  "_jobs": [
    {
      "job": 86538171651,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8247935937"
    },
    {
      "job": 86538171644,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8247929008"
    },
    {
      "job": 86537902272,
      "time": 235,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8247913329"
    },
    {
      "job": 86538171632,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8247926924"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29150007083",
  "_status": "success",
  "_upstream": "https://github.com/cran/pft",
  "_commit": {
    "id": "d172ea94a73cc8f306da3d612181304938c70349",
    "author": "Pat Johnson <johnson.pat@mayo.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.1\n",
    "time": 1783758613
  },
  "_maintainer": {
    "name": "Pat Johnson",
    "email": "johnson.pat@mayo.edu",
    "login": "overdodactyl",
    "description": "Data Scientist and Developer",
    "uuid": 33071129,
    "orcid": "0000-0001-8365-1375"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.1",
      "date": "2026-07-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "overdodactyl",
      "count": 1,
      "uuid": 33071129
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 618,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pft"
  },
  "_devurl": "https://github.com/overdodactyl/pft",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pft.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2026-07-11"
    }
  ],
  "_exports": [
    "as_tibble",
    "pft_bdr",
    "pft_bdr_2005",
    "pft_change",
    "pft_classify",
    "pft_diffusion",
    "pft_diffusion_interpret",
    "pft_dlco_hb_correct",
    "pft_fev1q",
    "pft_gold",
    "pft_interpret",
    "pft_long",
    "pft_plot",
    "pft_prism",
    "pft_quality",
    "pft_severity",
    "pft_severity_2005",
    "pft_spirometry",
    "pft_volume_subpattern",
    "pft_volumes"
  ],
  "_datasets": [
    {
      "name": "pft_example",
      "title": "Synthetic example PFT cohort",
      "object": "pft_example",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "patient_id",
        "sex",
        "age",
        "height",
        "race",
        "fev1_measured",
        "fvc_measured",
        "fev1fvc_measured",
        "tlc_measured",
        "fev1_pre",
        "fev1_post"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "pft_bdr",
      "title": "Bronchodilator response per the ERS/ATS 2022 criterion",
      "topics": [
        "pft_bdr"
      ]
    },
    {
      "page": "pft_bdr_2005",
      "title": "Bronchodilator response per the Pellegrino 2005 standard",
      "topics": [
        "pft_bdr_2005"
      ]
    },
    {
      "page": "pft_change",
      "title": "Conditional change score for serial PFT measurements",
      "topics": [
        "pft_change"
      ]
    },
    {
      "page": "pft_classify",
      "title": "Classify ATS spirometry patterns from spirometry and lung-volume measurements",
      "topics": [
        "pft_classify"
      ]
    },
    {
      "page": "pft_diffusion",
      "title": "Compute carbon monoxide diffusion capacity or transfer factor reference values for given demographics",
      "topics": [
        "pft_diffusion"
      ]
    },
    {
      "page": "pft_diffusion_interpret",
      "title": "Classify a diffusion result into a clinical pattern category",
      "topics": [
        "pft_diffusion_interpret"
      ]
    },
    {
      "page": "pft_dlco_hb_correct",
      "title": "Adjust a measured DLCO / TLCO for the patient's hemoglobin",
      "topics": [
        "pft_dlco_hb_correct"
      ]
    },
    {
      "page": "pft_example",
      "title": "Synthetic example PFT cohort",
      "topics": [
        "pft_example"
      ]
    },
    {
      "page": "pft_fev1q",
      "title": "FEV1Q: ratio of FEV1 to a sex-specific survivable lower limit",
      "topics": [
        "pft_fev1q"
      ]
    },
    {
      "page": "pft_gold",
      "title": "Grade COPD severity by GOLD criteria",
      "topics": [
        "pft_gold"
      ]
    },
    {
      "page": "pft_interpret",
      "title": "Comprehensive ERS/ATS 2022 PFT interpretation in one call",
      "topics": [
        "pft_interpret"
      ]
    },
    {
      "page": "pft_long",
      "title": "Pivot a 'pft_result' to long form",
      "topics": [
        "pft_long"
      ]
    },
    {
      "page": "pft_plot",
      "title": "Clinical visualisation for a single PFT result",
      "topics": [
        "pft_plot"
      ]
    },
    {
      "page": "pft_prism",
      "title": "Screen for Preserved Ratio Impaired Spirometry (PRISm)",
      "topics": [
        "pft_prism"
      ]
    },
    {
      "page": "pft_quality",
      "title": "Grade spirometry quality per ATS/ERS 2019",
      "topics": [
        "pft_quality"
      ]
    },
    {
      "page": "pft_severity",
      "title": "Grade severity of lung function impairment from a z-score",
      "topics": [
        "pft_severity"
      ]
    },
    {
      "page": "pft_severity_2005",
      "title": "Severity grading per the Pellegrino 2005 standard",
      "topics": [
        "pft_severity_2005"
      ]
    },
    {
      "page": "pft_spirometry",
      "title": "Compute spirometry reference values for given demographics",
      "topics": [
        "pft_spirometry"
      ]
    },
    {
      "page": "pft_volume_subpattern",
      "title": "Classify lung-volume sub-pattern per Stanojevic 2022 Figure 10",
      "topics": [
        "pft_volume_subpattern"
      ]
    },
    {
      "page": "pft_volumes",
      "title": "Compute lung volume reference values for given demographics",
      "topics": [
        "pft_volumes"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/pft/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/pft/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "rlang",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "diffusion-capacity.Rmd",
      "filename": "diffusion-capacity.html",
      "title": "Diffusion capacity (DLCO / TLCO): reference, Hb correction, interpretation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Reference values",
        "2. Hemoglobin correction",
        "3. Clinical sub-pattern (Hughes & Pride 2012)",
        "4. How VA shapes the classifier output",
        "5. Cohort-level diffusion summaries",
        "See also"
      ],
      "created": "2026-07-11 08:30:13",
      "modified": "2026-07-11 08:30:13",
      "commits": 1
    },
    {
      "source": "pft.Rmd",
      "filename": "pft.html",
      "title": "Getting started with pft",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Reference values from demographics alone",
        "2. Z-scores and percent predicted from measured values",
        "3. Severity grading",
        "4. ATS pattern classification",
        "5. Bronchodilator response",
        "6. PRISm screening",
        "7. Serial change",
        "8. The one-call workflow",
        "9. Visualisation",
        "10. Cohort analyses",
        "11. Long-form tidier for downstream analysis",
        "12. Diffusion clinical category",
        "Citations"
      ],
      "created": "2026-07-11 08:30:13",
      "modified": "2026-07-11 08:30:13",
      "commits": 1
    },
    {
      "source": "glossary.Rmd",
      "filename": "glossary.html",
      "title": "Glossary",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Measure abbreviations",
        "Statistical terms",
        "Patterns and clinical entities",
        "Tests and gradings",
        "Notation: the 4-character pattern combination",
        "Race / ancestry categories (GLI 2012 only)",
        "Common validation errors"
      ],
      "created": "2026-07-11 08:30:13",
      "modified": "2026-07-11 08:30:13",
      "commits": 1
    },
    {
      "source": "input-format.Rmd",
      "filename": "input-format.html",
      "title": "Input data format",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Required vs. optional columns",
        "Units and types",
        "Using non-canonical column names",
        "Common errors"
      ],
      "created": "2026-07-11 08:30:13",
      "modified": "2026-07-11 08:30:13",
      "commits": 1
    },
    {
      "source": "interpretation-guide.Rmd",
      "filename": "interpretation-guide.html",
      "title": "Interpretation reference: severity bands, patterns, and standards",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Severity bands",
        "Pattern decision tree",
        "When to use 2022 vs 2005",
        "Worked examples",
        "Example 1: low FEV1/FVC with low FEV1",
        "Example 2: low TLC with preserved KCO",
        "Example 3: PRISm without TLC",
        "Applying vector helpers inside a data-frame workflow",
        "See also"
      ],
      "created": "2026-07-11 08:30:13",
      "modified": "2026-07-11 08:30:13",
      "commits": 1
    },
    {
      "source": "longitudinal-analysis.Rmd",
      "filename": "longitudinal-analysis.html",
      "title": "Longitudinal PFT analysis: change and FEV1Q",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Two-point conditional change score: pft_change()",
        "2. FEV1Q in adults: pft_fev1q()",
        "3. Plotting trajectories",
        "See also"
      ],
      "created": "2026-07-11 08:30:13",
      "modified": "2026-07-11 08:30:13",
      "commits": 1
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": false,
  "_nocasepkg": "pft",
  "_universes": [
    "cran",
    "overdodactyl"
  ],
  "_indexurl": "https://overdodactyl.r-universe.dev/pft",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-07-11T10:58:03.000Z",
      "distro": "resolute",
      "commit": "d172ea94a73cc8f306da3d612181304938c70349",
      "fileid": "https://r2.ropensci.org/d92bacedfc6d29e1bf20368e3e48236b45d1dc31f357f3173aabbc58edf8894c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29150007083"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-07-11T10:57:05.000Z",
      "distro": "resolute",
      "commit": "d172ea94a73cc8f306da3d612181304938c70349",
      "fileid": "https://r2.ropensci.org/89aff8c9093ef0876486f680d9ec15f7c62f5d63d11178641d6b5b614e605ebd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29150007083"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-07-11T10:57:14.000Z",
      "commit": "d172ea94a73cc8f306da3d612181304938c70349",
      "fileid": "https://r2.ropensci.org/1d75bfe476b030b4a690dbd3a586fc724bb79ed0e88a86f5ee25763923a2f1e8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29150007083"
    }
  ]
}