{
  "_id": "6a251c924b233be19838e524",
  "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-06-07 07:11:00 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": "40b137d5131c050f576fa2999cd5536f",
  "_user": "tommyjones",
  "_type": "src",
  "_file": "tidylda_0.0.7.999.tar.gz",
  "_fileid": "5ad2d4f7d0ba4c48ef801e2b346b6a860aaadf03aca4324451d0b93d7ef8ba0f",
  "_filesize": 823652,
  "_sha256": "5ad2d4f7d0ba4c48ef801e2b346b6a860aaadf03aca4324451d0b93d7ef8ba0f",
  "_created": "2026-06-07T07:11:00.000Z",
  "_published": "2026-06-07T07:24:02.117Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79939871542,
      "time": 233,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461785301"
    },
    {
      "job": 79939871517,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461779905"
    },
    {
      "job": 79939871528,
      "time": 180,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461779419"
    },
    {
      "job": 79939871534,
      "time": 192,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461780413"
    },
    {
      "job": 79939871518,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461831365"
    },
    {
      "job": 79939871520,
      "time": 357,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461816839"
    },
    {
      "job": 79939871516,
      "time": 174,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461800337"
    },
    {
      "job": 79939871553,
      "time": 552,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461842993"
    },
    {
      "job": 79939618503,
      "time": 267,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461757961"
    },
    {
      "job": 79939871496,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461774712"
    },
    {
      "job": 79939871538,
      "time": 179,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461778944"
    },
    {
      "job": 79939871527,
      "time": 172,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461778280"
    },
    {
      "job": 79939871515,
      "time": 180,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461779119"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666",
  "_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",
    "description": "Technology | Statistics | Machine Learning. ",
    "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": 219,
    "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.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.53173430927655,
  "_indexed": true,
  "_nocasepkg": "tidylda",
  "_universes": [
    "tommyjones"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:14:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "0c8c3fce969102ad70c3c04c8161d9716c60ffdc38c7a852d45d27d4d2913caa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:13:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "9577e74746dc04a4b949d47e2dc7ba94c0a2ad697723b4af0ca26352b0dfd98c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:13:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "0a401f78a0e6906f32a777abd55cd8ba4776a70ec85909a81b5b485b56ca292c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:13:51.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "914caba7c54171a255c4ba535956a26305cd0ab6c2cc3fa7cd48be695897a487",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:21:09.000Z",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "cd3c482066338ec97aa899fd74f0c9931d57f89c042a7ecaf77c0268dc84bf85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:18:17.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "d0b4256bffa8d704b6e837a32b50e121cdaa8c11ddbffbd9e5c598cd9067e17d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:16:58.000Z",
      "arch": "aarch64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "89893e7202103fdd3bbab1fbf79e4faff16644f4946a4656de3c23420f0594b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:20:27.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "7bce40eec0638aa0539c5ec96c80adae3c2bb40cbf88e48d16899044e15c4fb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:13:46.000Z",
      "arch": "emscripten",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "5f17ca7d89c71d5ee815a4fe71f6380be69609084b84d38aa65f886dc0579551",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:13:01.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "4a2c36409e74933134f90520489507c57f927578d4d8ba58b052a5e1af65bb6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:12:52.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "44f0577cb7b4e244ec2fcbbfbeb88ea73efe4c0901310bc177882b41f3fdf181",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.7.999",
      "date": "2026-06-07T07:13:04.000Z",
      "arch": "x86_64",
      "commit": "7d8780ad8bf37e1b0ec98eda0f2f52bc3d354d2a",
      "fileid": "7095193b7b2c3603ec02f55967e9be940161e05fa2537a5d2fb0530eb4522756",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tommyjones/actions/runs/27085693666"
    }
  ]
}