{
  "_id": "6a1f1107b401979e7341d938",
  "Package": "quanteda.tidy",
  "Title": "'tidyverse' Extensions for 'quanteda'",
  "Version": "0.4",
  "Authors@R": "c( person(\"Kenneth\", \"Benoit\", email = \"kbenoit@smu.edu.sg\", role =\nc(\"aut\", \"cre\", \"cph\")) )",
  "Description": "Enables 'tidyverse' operations on 'quanteda' corpus\nobjects by extending 'dplyr' verbs to work directly with corpus\nobjects and their document-level variables ('docvars').\nImplements row operations for 'subsetting' and reordering\ndocuments; column operations for managing document variables;\ngrouped operations; and two-table verbs for merging external\ndata. For more on 'quanteda' see 'Benoit et al.' (2018)\n<doi:10.21105/joss.00774>. For 'dplyr' see 'Wickham et al.'\n(2023) <doi:10.32614/CRAN.package.dplyr>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Language": "en-GB",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 08:06:44 UTC",
    "User": "root"
  },
  "Author": "Kenneth Benoit [aut, cre, cph]",
  "Maintainer": "Kenneth Benoit <kbenoit@smu.edu.sg>",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://kbenoit.r-universe.dev",
  "Date/Publication": "2025-12-17 10:10:08 UTC",
  "RemoteUrl": "https://github.com/cran/quanteda.tidy",
  "RemoteRef": "HEAD",
  "RemoteSha": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
  "MD5sum": "35a00a02f143b55f651660f7adf1dd11",
  "_user": "kbenoit",
  "_type": "src",
  "_file": "quanteda.tidy_0.4.tar.gz",
  "_fileid": "5e852f97059e01d69c02b354977ebda78e4c579e58cbadd9af32ab866aeae894",
  "_filesize": 161923,
  "_sha256": "5e852f97059e01d69c02b354977ebda78e4c579e58cbadd9af32ab866aeae894",
  "_created": "2026-05-17T08:06:44.000Z",
  "_published": "2026-06-02T17:21:11.584Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79130581679,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040691270"
    },
    {
      "job": 79130581760,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040691391"
    },
    {
      "job": 79130581633,
      "time": 167,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040689716"
    },
    {
      "job": 79130581654,
      "time": 150,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040687322"
    },
    {
      "job": 79130580816,
      "time": 204,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040674792"
    },
    {
      "job": 79130580577,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364940728"
    },
    {
      "job": 79130581551,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040686057"
    },
    {
      "job": 79130581900,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040685112"
    },
    {
      "job": 79130581756,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040684911"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/quanteda.tidy",
  "_commit": {
    "id": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
    "author": "Kenneth Benoit <kbenoit@smu.edu.sg>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4\n",
    "time": 1765966208
  },
  "_maintainer": {
    "name": "Kenneth Benoit",
    "email": "kbenoit@smu.edu.sg",
    "login": "kbenoit",
    "bluesky": "@kenbenoit.bsky.social",
    "twitter": "@kenbenoit",
    "description": "Professor of Computational Social Science; Dean, School of Social Science, Singapore Management University;\nDirector of non-profit @quanteda Initiative",
    "uuid": 2182246
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "quanteda",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-51",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4",
      "date": "2025-12-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kbenoit",
      "count": 1,
      "uuid": 2182246
    }
  ],
  "_userbio": {
    "uuid": 2182246,
    "type": "user",
    "name": "Kenneth Benoit",
    "description": "Professor of Computational Social Science; Dean, School of Social Science, Singapore Management University;\r\nDirector of non-profit @quanteda Initiative"
  },
  "_downloads": {
    "count": 264,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/quanteda.tidy"
  },
  "_mentions": 15,
  "_searchresults": 13,
  "_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/quanteda.tidy.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "kbenoit",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.4",
      "date": "2025-12-17"
    }
  ],
  "_exports": [
    "add_count",
    "add_tally",
    "all_of",
    "any_of",
    "arrange",
    "contains",
    "corpus_stv_bydoc",
    "corpus_stv_byvar",
    "desc",
    "distinct",
    "ends_with",
    "everything",
    "filter",
    "glimpse",
    "last_col",
    "left_join",
    "matches",
    "mutate",
    "n",
    "num_range",
    "one_of",
    "pull",
    "relocate",
    "rename",
    "rename_with",
    "select",
    "slice",
    "slice_head",
    "slice_max",
    "slice_min",
    "slice_sample",
    "slice_tail",
    "starts_with",
    "transmute"
  ],
  "_help": [
    {
      "page": "quanteda.tidy-package",
      "title": "quanteda.tidy: Tidyverse Extensions for quanteda",
      "topics": [
        "quanteda.tidy-package",
        "quanteda.tidy"
      ]
    },
    {
      "page": "add_count.corpus",
      "title": "Add count of observations to corpus",
      "topics": [
        "add_count.corpus",
        "add_tally.corpus"
      ]
    },
    {
      "page": "add_tally",
      "title": "Add count of observations to corpus",
      "topics": [
        "add_tally"
      ]
    },
    {
      "page": "arrange.corpus",
      "title": "Arrange the document order of a corpus by variables",
      "topics": [
        "arrange.corpus"
      ]
    },
    {
      "page": "distinct.corpus",
      "title": "Subset documents distinct/unique by document variables",
      "topics": [
        "distinct.corpus"
      ]
    },
    {
      "page": "filter.corpus",
      "title": "Return documents with matching conditions",
      "topics": [
        "filter.corpus"
      ]
    },
    {
      "page": "left_join.corpus",
      "title": "Join corpus with a data frame",
      "topics": [
        "left_join.corpus"
      ]
    },
    {
      "page": "mutate.corpus",
      "title": "Create or transform document variables",
      "topics": [
        "mutate.corpus",
        "transmute.corpus"
      ]
    },
    {
      "page": "pull.corpus",
      "title": "Pull out a single document variable",
      "topics": [
        "pull.corpus",
        "pull.dfm",
        "pull.tokens"
      ]
    },
    {
      "page": "relocate.corpus",
      "title": "Change column order of document variables",
      "topics": [
        "relocate.corpus"
      ]
    },
    {
      "page": "rename.corpus",
      "title": "Rename document variables",
      "topics": [
        "rename.corpus",
        "rename_with.corpus"
      ]
    },
    {
      "page": "select.corpus",
      "title": "Subset docvars using their names and types",
      "topics": [
        "select.corpus"
      ]
    },
    {
      "page": "slice.corpus",
      "title": "Subset documents using their positions",
      "topics": [
        "slice.corpus",
        "slice_head.corpus",
        "slice_max.corpus",
        "slice_min.corpus",
        "slice_sample.corpus",
        "slice_tail.corpus"
      ]
    }
  ],
  "_readme": "https://github.com/cran/quanteda.tidy/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "fastmatch",
    "generics",
    "glue",
    "ISOcodes",
    "jsonlite",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "quanteda",
    "R6",
    "Rcpp",
    "rlang",
    "SnowballC",
    "stopwords",
    "stringi",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "quickstart.Rmd",
      "filename": "quickstart.html",
      "title": "Getting started with quanteda.tidy",
      "author": "Ken Benoit",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Overview of Functions",
        "Verbs That Operate on Rows",
        "Filtering documents",
        "Slicing documents by position",
        "Arranging documents",
        "Keeping distinct documents",
        "Verbs That Operate on Columns",
        "Selecting docvars",
        "Renaming docvars",
        "Relocating docvars",
        "Creating and modifying docvars",
        "Extracting docvars",
        "Getting an overview",
        "Verbs That Operate on Groups of Rows",
        "Counting observations",
        "Verbs That Operate on Pairs of Data Frames",
        "Joining with external data",
        "Special handling of document names",
        "Piping Operations"
      ],
      "created": "2025-12-17 10:10:08",
      "modified": "2025-12-17 10:10:08",
      "commits": 1
    }
  ],
  "_score": 3.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "quanteda.tidy",
  "_universes": [
    "kbenoit"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4",
      "date": "2026-05-17T08:09:04.000Z",
      "distro": "noble",
      "commit": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
      "fileid": "a36caefa745a67b219c108c4afd13c7f120f1f34082af36b8322b8dbd23c2e18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4",
      "date": "2026-05-17T08:09:06.000Z",
      "distro": "noble",
      "commit": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
      "fileid": "3c43b4707e0eae920a49adbc9c0a24f9174d84b82bed2e88de933913782703c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4",
      "date": "2026-05-17T08:09:07.000Z",
      "commit": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
      "fileid": "f37929c77897d81182f4d60f7762d4fb76d9e514b84837b02300ad35c8b190e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4",
      "date": "2026-05-17T08:08:39.000Z",
      "commit": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
      "fileid": "9f508181191764f9c4317721ad432a38f85b0ee7434a44d2c2b55d13ccd58abf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4",
      "date": "2026-05-17T08:08:05.000Z",
      "commit": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
      "fileid": "ba2df5869fbb043df4ccebde95d7ef4aa9f5a6c0ea774ab9149064125f817780",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4",
      "date": "2026-05-17T08:08:01.000Z",
      "commit": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
      "fileid": "e803d7ef4450e928878cedbca8c654a5c4a71d3fdbf3e2c56d405686bc8aba6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4",
      "date": "2026-05-17T08:08:01.000Z",
      "commit": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
      "fileid": "fdb111b7655a82fb80ac91ccde055063821b06bf6596af80bd44e5db64c883cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4",
      "date": "2026-06-02T17:20:54.000Z",
      "commit": "b1a65dcf9aba864e33d027a066c98eb410f947d4",
      "fileid": "0c5df10dd171acaf8acb1afd2bc6a753e9ae0580e21d603d7af2c931bd35fb5d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kbenoit/actions/runs/25985324349"
    }
  ]
}