{
  "_id": "6a106000acfb0bcc41ca6f49",
  "Type": "Package",
  "Package": "tidylda",
  "Title": "Latent Dirichlet Allocation Using 'tidyverse' Conventions",
  "Version": "0.0.7.999",
  "Authors@R": "c(\nperson(given = \"Tommy\",\nfamily = \"Jones\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jones.thos.w@gmail.com\",\ncomment = c(ORCID = \"0000-0001-6457-2452\")\n),\nperson(\"Brendan\", \"Knapp\",\nemail = \"brendan.g.knapp@gmail.com\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0003-3284-4972\")\n),\nperson(given = \"Barum\",\nfamily = \"Park\",\nrole = c(\"ctb\"),\nemail = \"baruuum@gmail.com\"\n)\n)",
  "Description": "Implements an algorithm for Latent Dirichlet Allocation\n(LDA), Blei et at. (2003)\n<https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf>,\nusing style conventions from the 'tidyverse', Wickham et al.\n(2019)<doi:10.21105/joss.01686>, and 'tidymodels', Kuhn et\nal.<https://tidymodels.github.io/model-implementation-principles/>.\nFitting is done via collapsed Gibbs sampling. Also implements\nseveral novel features for LDA such as guided models and\ntransfer learning.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/TommyJones/tidylda/",
  "BugReports": "https://github.com/TommyJones/tidylda/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Language": "en-US",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://tommyjones.r-universe.dev",
  "Date/Publication": "2025-11-15 19:28:19 UTC",
  "RemoteUrl": "https://github.com/tommyjones/tidylda",
  "RemoteRef": "HEAD",
  "RemoteSha": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-08 08:41:04 UTC",
    "User": "root"
  },
  "Author": "Tommy Jones [aut, cre] (ORCID: <https://orcid.org/0000-0001-6457-2452>),\nBrendan Knapp [ctb] (ORCID: <https://orcid.org/0000-0003-3284-4972>),\nBarum Park [ctb]",
  "Maintainer": "Tommy Jones <jones.thos.w@gmail.com>",
  "MD5sum": "033a7cfbf4dc96cc1fe8b50c68fa9d48",
  "_user": "tommyjones",
  "_type": "src",
  "_file": "tidylda_0.0.7.999.tar.gz",
  "_fileid": "498fec07577ac217cf803506895e57442f2f63ee525037d5e38b0c86e8dfb47f",
  "_filesize": 827910,
  "_sha256": "498fec07577ac217cf803506895e57442f2f63ee525037d5e38b0c86e8dfb47f",
  "_created": "2026-05-08T08:41:04.000Z",
  "_published": "2026-05-22T13:54:08.459Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77393653484,
      "time": 184,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6875305507"
    },
    {
      "job": 77393653546,
      "time": 203,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6875312923"
    },
    {
      "job": 77393653612,
      "time": 184,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875305975"
    },
    {
      "job": 77393653928,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875312231"
    },
    {
      "job": 77393653307,
      "time": 252,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6875326466"
    },
    {
      "job": 77393653535,
      "time": 361,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6875373971"
    },
    {
      "job": 77393653500,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875296998"
    },
    {
      "job": 77393653075,
      "time": 251,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875325887"
    },
    {
      "job": 77393652415,
      "time": 269,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875251179"
    },
    {
      "job": 77393652192,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162205739"
    },
    {
      "job": 77393652976,
      "time": 173,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6875302837"
    },
    {
      "job": 77393653414,
      "time": 185,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6875306733"
    },
    {
      "job": 77393653441,
      "time": 200,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875310685"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tommyjones/tidylda",
  "_commit": {
    "id": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
    "author": "Tommy Jonesgit config --global user.email jones.thos.w@gmail.com <you@example.com>",
    "committer": "Tommy Jonesgit config --global user.email jones.thos.w@gmail.com <you@example.com>",
    "message": "Updating to development version\n",
    "time": 1763234899
  },
  "_maintainer": {
    "name": "Tommy Jones",
    "email": "jones.thos.w@gmail.com",
    "login": "tommyjones",
    "linkedin": "in/twjstats",
    "uuid": 4990978,
    "orcid": "0000-0001-6457-2452"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "RcppThread",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "gtools",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mvrsquared",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidytext",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "quanteda",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tm",
      "role": "Suggests"
    },
    {
      "package": "slam",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "tommyjones",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v0.0.7",
      "date": "2025-11-15"
    }
  ],
  "_stars": 42,
  "_contributors": [
    {
      "user": "tommyjones",
      "count": 507,
      "uuid": 4990978
    },
    {
      "user": "knapply",
      "count": 3,
      "uuid": 26281249
    }
  ],
  "_userbio": {
    "uuid": 4990978,
    "type": "user",
    "name": "Tommy Jones",
    "description": "Technology | Statistics | Machine Learning. "
  },
  "_downloads": {
    "count": 239,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidylda"
  },
  "_devurl": "https://github.com/tommyjones/tidylda",
  "_searchresults": 52,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_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/tidylda.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tommyjones/tidylda",
  "_realowner": "tommyjones",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2021-07-19"
    },
    {
      "version": "0.0.2",
      "date": "2021-12-08"
    },
    {
      "version": "0.0.3",
      "date": "2023-07-14"
    },
    {
      "version": "0.0.4",
      "date": "2023-12-01"
    },
    {
      "version": "0.0.5",
      "date": "2024-04-22"
    },
    {
      "version": "0.0.7",
      "date": "2025-11-14"
    }
  ],
  "_exports": [
    "augment",
    "calc_prob_coherence",
    "glance",
    "posterior",
    "refit",
    "tidy",
    "tidylda"
  ],
  "_datasets": [
    {
      "name": "nih_sample",
      "title": "Abstracts and metadata from NIH research grants awarded in 2014",
      "object": "nih_sample",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "APPLICATION_ID",
        "ABSTRACT_TEXT",
        "ACTIVITY",
        "ADMINISTERING_IC",
        "APPLICATION_TYPE",
        "ARRA_FUNDED",
        "AWARD_NOTICE_DATE",
        "BUDGET_START",
        "BUDGET_END",
        "CFDA_CODE",
        "CORE_PROJECT_NUM",
        "ED_INST_TYPE",
        "FOA_NUMBER",
        "FULL_PROJECT_NUM",
        "FUNDING_ICs",
        "FUNDING_MECHANISM",
        "FY",
        "IC_NAME",
        "NIH_SPENDING_CATS",
        "ORG_CITY",
        "ORG_COUNTRY",
        "ORG_DEPT",
        "ORG_DISTRICT",
        "ORG_DUNS",
        "ORG_FIPS",
        "ORG_NAME",
        "ORG_STATE",
        "ORG_ZIPCODE",
        "PHR",
        "PI_IDS",
        "PI_NAMEs",
        "PROGRAM_OFFICER_NAME",
        "PROJECT_START",
        "PROJECT_END",
        "PROJECT_TERMS",
        "PROJECT_TITLE",
        "SERIAL_NUMBER",
        "STUDY_SECTION",
        "STUDY_SECTION_NAME",
        "SUBPROJECT_ID",
        "SUFFIX",
        "SUPPORT_YEAR",
        "TOTAL_COST",
        "TOTAL_COST_SUB_PROJECT"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "nih_sample_dtm",
      "title": "Abstracts and metadata from NIH research grants awarded in 2014",
      "object": "nih_sample_dtm",
      "class": [
        "dgCMatrix"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "augment.tidylda",
      "title": "Augment method for 'tidylda' objects",
      "topics": [
        "augment.tidylda"
      ]
    },
    {
      "page": "calc_prob_coherence",
      "title": "Probabilistic coherence of topics",
      "topics": [
        "calc_prob_coherence"
      ]
    },
    {
      "page": "glance.tidylda",
      "title": "Glance method for 'tidylda' objects",
      "topics": [
        "glance.tidylda"
      ]
    },
    {
      "page": "nih",
      "title": "Abstracts and metadata from NIH research grants awarded in 2014",
      "topics": [
        "nih",
        "nih_sample",
        "nih_sample_dtm"
      ]
    },
    {
      "page": "posterior",
      "title": "Draw from the marginal posteriors of a tidylda topic model",
      "topics": [
        "posterior",
        "posterior.tidylda"
      ]
    },
    {
      "page": "predict.tidylda",
      "title": "Get predictions from a Latent Dirichlet Allocation model",
      "topics": [
        "predict.tidylda"
      ]
    },
    {
      "page": "print.tidylda",
      "title": "Print Method for tidylda",
      "topics": [
        "print.tidylda"
      ]
    },
    {
      "page": "refit.tidylda",
      "title": "Update a Latent Dirichlet Allocation topic model",
      "topics": [
        "refit.tidylda"
      ]
    },
    {
      "page": "tidy.tidylda",
      "title": "Tidy a matrix from a 'tidylda' topic model",
      "topics": [
        "tidy.matrix",
        "tidy.tidylda"
      ]
    },
    {
      "page": "tidylda",
      "title": "Fit a Latent Dirichlet Allocation topic model",
      "topics": [
        "tidylda"
      ]
    }
  ],
  "_pkglogo": "https://github.com/tommyjones/tidylda/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/tommyjones/tidylda/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "gtools",
    "janeaustenr",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mvrsquared",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "RcppThread",
    "rlang",
    "SnowballC",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tidytext",
    "tokenizers",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "tidylda-intro.Rmd",
      "filename": "tidylda-intro.html",
      "title": "Introduction to tidylda",
      "author": "Tommy Jones",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to the tidylda package",
        "Tidy Methods",
        "Other Notable Features",
        "Discussion",
        "Installation",
        "Example"
      ],
      "created": "2022-11-26 04:10:25",
      "modified": "2024-07-03 15:58:08",
      "commits": 6
    },
    {
      "source": "probabilistic-coherence.Rmd",
      "filename": "probabilistic-coherence.html",
      "title": "Probabilistic Coherence",
      "author": "Tommy Jones",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-11-26 04:10:25",
      "modified": "2023-07-14 19:28:03",
      "commits": 3
    },
    {
      "source": "tLDA.Rmd",
      "filename": "tLDA.html",
      "title": "Transfer Learning with LDA (tLDA)",
      "author": "Tommy Jones",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Fine Tuning Latent Dirichlet Allocation for Transfer Learning",
        "Contribution",
        "tLDA",
        "The Model",
        "Selecting the prior weight",
        "The tidylda Implementation of tLDA",
        "Aligning Vocabulary",
        "Adding New Topics",
        "Initializing $\\boldsymbol{Cd}^{(t)}$ and $\\boldsymbol{Cv}^{(t)}$",
        "Partitioning the Posterior to Collapse $K$ Weights ($\\omega_k$) Into One, $a$"
      ],
      "created": "2022-11-26 04:10:25",
      "modified": "2024-07-03 15:59:46",
      "commits": 4
    }
  ],
  "_score": 6.515343893088382,
  "_indexed": true,
  "_nocasepkg": "tidylda",
  "_universes": [
    "tommyjones"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:43:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "270388d34c8655f9bae99424437b0448b6e27646beaa500254bd9348afd8f51c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:44:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "97521877a70c31e64e7857daa0ed4ce56b0d173e55ee217531f6e6cee71c88e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:43:55.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "2ac7c774a3a85fd03762ff231ce486fa99d0956adb63e661f0b142f9795b95c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:44:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "5308a143e6dc319aed25b08b0a84d164275a9b92249891dbe9fbca96678773ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:45:16.000Z",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "8d5849ca2fc2a1a2278163afcdd6cf7441722939a5e64ea628d10d6abef5dd7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:47:17.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "181c50d5b973fd51c7cb7159aa1aeaa59aa9efdcf246bbaa454df65767344d97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:43:27.000Z",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "b27171831ed04a0fe5495539026a788673476a916804bde62d31b2f244720eee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:44:41.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "070ee75b18b5f43b44f086a07a20f0a1f7e24922fdf6f0d44275f4bf5b50d612",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:43:03.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "4db6e1cbd451f5a99379dbaa556b99bd683bd471fbd750cb480ad11dc0f2d3be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:43:22.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "9dd31c71efb81fdaa93e8945e771f5cf1877f415c2eb991c981cf9e2b47907cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-05-08T08:43:08.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "4d7648719b18502354c76ff812a3ae500ae341eda5c12e756dcd9f63a408d2b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.7.999",
      "date": "2026-05-22T13:53:39.000Z",
      "arch": "emscripten",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "d8145c889e4af1ce21df25244afccf22b0db77b4c53e9971aea8690b58fb81c7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/25545873920"
    }
  ]
}