{
  "_id": "6a4ca6a007c3fd5c3260eeb5",
  "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-07-07 07:04:43 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>",
  "_user": "tommyjones",
  "_type": "src",
  "_file": "tidylda_0.0.7.999.tar.gz",
  "_fileid": "https://r2.ropensci.org/ee2d8463fd3b2f4bb05e3d8f6233876937041a282cca69675c2a02206d5d6248",
  "_filesize": 828788,
  "_sha256": "ee2d8463fd3b2f4bb05e3d8f6233876937041a282cca69675c2a02206d5d6248",
  "_expires": "2026-10-15T07:11:26.000Z",
  "_created": "2026-07-07T07:04:43.000Z",
  "_published": "2026-07-07T07:11:28.002Z",
  "_jobs": [
    {
      "job": 85556522003,
      "time": 189,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130428001"
    },
    {
      "job": 85556522015,
      "time": 205,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130432008"
    },
    {
      "job": 85556522049,
      "time": 201,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130432205"
    },
    {
      "job": 85556522072,
      "time": 200,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130430644"
    },
    {
      "job": 85556521968,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130419791"
    },
    {
      "job": 85556521958,
      "time": 343,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130477097"
    },
    {
      "job": 85556521969,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130400494"
    },
    {
      "job": 85556521978,
      "time": 322,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130470330"
    },
    {
      "job": 85555689073,
      "time": 311,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130364724"
    },
    {
      "job": 85556521956,
      "time": 178,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8130423422"
    },
    {
      "job": 85556521981,
      "time": 189,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130427141"
    },
    {
      "job": 85556522005,
      "time": 151,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130414726"
    },
    {
      "job": 85556521975,
      "time": 187,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130427225"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615",
  "_status": "success",
  "_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",
    "description": "Technology | Statistics | Machine Learning. ",
    "uuid": 4990978,
    "orcid": "0000-0001-6457-2452"
  },
  "_distro": "resolute",
  "_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",
    "followers": 94,
    "description": "Technology | Statistics | Machine Learning. "
  },
  "_downloads": {
    "count": 399,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidylda"
  },
  "_devurl": "https://github.com/tommyjones/tidylda",
  "_searchresults": 54,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_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/readme.html",
    "extra/readme.md",
    "extra/tidylda.html",
    "LICENSE",
    "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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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.53173430927655,
  "_indexed": true,
  "_nocasepkg": "tidylda",
  "_universes": [
    "tommyjones"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:07:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/4eb46407cfdaee447a7453175062097c4cbc808dd47143396706842350a58239",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:07:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/3741908a3f92a1a808b3b0fc4219c5477ca893c30599a2b7494ab7211cb0b99e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:08:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/f6ea3e19b259e5fdbcee3687c1a5b00a0afded0da96b93c968f3fdc3949759e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:07:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/f7a02084583102a9d4534852cb4b00817de2dd5cdd9d01efe7a7ae00f2c2da78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:07:17.000Z",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/cfb138c4d4fe94fdaf8635b2e7ede45b41145d9555c03f6df379b6c942caf251",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:09:13.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/31d8180e368f62331a00473ed9d995eb5f01d97c427fb5e8e39a908d5bfff288",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:06:31.000Z",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/666921c921eb25f9c48e2eeaf76069c43ccccf9fda4929f3220d4a78437415c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:08:53.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/7b3bb7c4a85c1f23d62f4d216c7ba7531b925beabb7f31887962e679459e153c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:08:08.000Z",
      "arch": "emscripten",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/12016da02f81e3f7531a479bf86ca4b268b1a22ff92d82b40930822880e97444",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:07:08.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/9e9fe2b7b2b51d1cce63b75269e039c5efce3968152a3c1ca8cda6b0b840fcdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:06:29.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/184537eb3cab2a843f70ad2564adaa94b3377d6f77a0598bd4fba9df43bf7375",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-07-07T07:07:01.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "https://r2.ropensci.org/0c5b4b974f1474205073043b0d210d24039ffb58546980d3f92c27a32e3fdcf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/28847786615"
    }
  ]
}