Package: quanteda.tidy 0.4
quanteda.tidy: 'tidyverse' Extensions for 'quanteda'
Enables 'tidyverse' operations on 'quanteda' corpus objects by extending 'dplyr' verbs to work directly with corpus objects and their document-level variables ('docvars'). Implements row operations for 'subsetting' and reordering documents; column operations for managing document variables; grouped operations; and two-table verbs for merging external data. For more on 'quanteda' see 'Benoit et al.' (2018) <doi:10.21105/joss.00774>. For 'dplyr' see 'Wickham et al.' (2023) <doi:10.32614/CRAN.package.dplyr>.
Authors:
quanteda.tidy_0.4.tar.gz
quanteda.tidy_0.4.zip(r-4.7)quanteda.tidy_0.4.zip(r-4.6)quanteda.tidy_0.4.zip(r-4.5)
quanteda.tidy_0.4.tgz(r-4.6-any)quanteda.tidy_0.4.tgz(r-4.5-any)
quanteda.tidy_0.4.tar.gz(r-4.7-any)quanteda.tidy_0.4.tar.gz(r-4.6-any)
quanteda.tidy_0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
quanteda.tidy/json (API)
NEWS
| # Install 'quanteda.tidy' in R: |
| install.packages('quanteda.tidy', repos = c('https://kbenoit.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:b1a65dcf9a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 160 | ||
| source / vignettes | OK | 204 | ||
| linux-release-x86_64 | OK | 162 | ||
| macos-release-arm64 | OK | 150 | ||
| macos-oldrel-arm64 | OK | 167 | ||
| windows-devel | OK | 109 | ||
| windows-release | OK | 98 | ||
| windows-oldrel | OK | 99 | ||
| wasm-release | OK | 111 |
Exports:add_countadd_tallyall_ofany_ofarrangecontainscorpus_stv_bydoccorpus_stv_byvardescdistinctends_witheverythingfilterglimpselast_colleft_joinmatchesmutatennum_rangeone_ofpullrelocaterenamerename_withselectsliceslice_headslice_maxslice_minslice_sampleslice_tailstarts_withtransmute
Dependencies:clidplyrfastmatchgenericsglueISOcodesjsonlitelatticelifecyclemagrittrMatrixpillarpkgconfigquantedaR6RcpprlangSnowballCstopwordsstringitibbletidyselectutf8vctrswithrxml2yaml
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| quanteda.tidy: Tidyverse Extensions for quanteda | quanteda.tidy-package quanteda.tidy |
| Add count of observations to corpus | add_count.corpus add_tally.corpus |
| Add count of observations to corpus | add_tally |
| Arrange the document order of a corpus by variables | arrange.corpus |
| Subset documents distinct/unique by document variables | distinct.corpus |
| Return documents with matching conditions | filter.corpus |
| Join corpus with a data frame | left_join.corpus |
| Create or transform document variables | mutate.corpus transmute.corpus |
| Pull out a single document variable | pull.corpus pull.dfm pull.tokens |
| Change column order of document variables | relocate.corpus |
| Rename document variables | rename.corpus rename_with.corpus |
| Subset docvars using their names and types | select.corpus |
| Subset documents using their positions | slice.corpus slice_head.corpus slice_max.corpus slice_min.corpus slice_sample.corpus slice_tail.corpus |
