text2map

text2map: R Tools for Text Matrices - Published in JOSS (2022)

https://gitlab.com/culturalcartography/text2map

Science Score: 89.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: science.org, joss.theoj.org
  • Committers with academic emails
    2 of 4 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

R computational-social-science text analysis

Scientific Fields

Engineering Computer Science - 40% confidence
Last synced: 4 months ago · JSON representation

Repository

R Tools for Text Matrices

Basic Info
  • Host: gitlab.com
  • Owner: culturalcartography
  • License: mit
  • Default Branch: master
Statistics
  • Stars: 5
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Topics
R computational-social-science text analysis
Created about 5 years ago

https://gitlab.com/culturalcartography/text2map/blob/master/

# [`text2map`](https://culturalcartography.gitlab.io/text2map/): R Tools for Text Matrices 

This is an R Package with libraries and utility functions for computational text analysis.

The functions are optimized for working with various kinds of **text matrices**. Focusing on the text matrix as the primary object -- which is represented either as a base `R` dense matrix or a `Matrix` package sparse matrix -- allows for a consistent and intuitive interface that stays close to the underlying mathematical foundation of computational text analysis. In particular, the package includes functions for working with word embeddings, text networks, and document-term matrices.

Please check out our book [_Mapping Texts: Computational Text Analysis for the Social Sciences_](https://www.textmapping.com)


### Installation

Install the CRAN version:

```r
install.packages("text2map")
```

Or install the latest development version from GitLab:

``` r
library(remotes)
install_gitlab("culturalcartography/text2map")
```


### Related Packages

There are four related packages hosted on GitLab: 

- [`text2map.corpora`](https://culturalcartography.gitlab.io/text2map.corpora/): 13+ text datasets
- [`text2map.dictionaries`](https://culturalcartography.gitlab.io/text2map.dictionaries/): norm dictionaries and word frequency lists
- [`text2map.pretrained`](https://culturalcartography.gitlab.io/text2map.pretrained/): pretrained embeddings and topic models
- [`text2map.theme`](https://culturalcartography.gitlab.io/text2map.theme): changes `ggplot2` aesthetics and loads viridis color scheme as default

The above packages can be installed using the following:

```r
library(remotes)
install_gitlab("culturalcartography/text2map.theme")
install_gitlab("culturalcartography/text2map.corpora")
install_gitlab("culturalcartography/text2map.pretrained")
install_gitlab("culturalcartography/text2map.dictionaries")
```

### Contributions and Support

We welcome contributions! 

For any contributions, feel free to fork the package repository on GitLab or submit pull requests. We follow the [Tidyverse](https://style.tidyverse.org/) and [rOpensci](https://devguide.ropensci.org/building.html) style guides (see also [Advanced R](http://adv-r.had.co.nz/Style.html)). In terms of adding functions, we encourage any method that works with base R matrices or the Matrix package's `dgCMatrix` class.

Please report any issues or bugs here: https://gitlab.com/culturalcartography/text2map/-/issues

Any questions and requests for support can also be directed to the package maintainers (maintainers [at] textmapping [dot] com).



[![CRAN](https://user-content.gitlab-static.net/2c1d3fa0363b0d2990145498a602380b6f39c810/68747470733a2f2f7777772e722d706b672e6f72672f6261646765732f76657273696f6e2f74657874326d6170)](https://cran.r-project.org/package=text2map)

[![DOI](https://img.shields.io/badge/DOI-10.32614/CRAN.package.text2map-1f57b6?style=flat&link=https://doi.org/10.32614/CRAN.package.text2map)](https://cran.r-project.org/package=text2map)

[![pipeline](https://gitlab.com/culturalcartography/text2map/badges/master/pipeline.svg)](https://gitlab.com/culturalcartography/text2map/-/commits/master)

[![Joss DOI](https://joss.theoj.org/papers/10.21105/joss.03741/status.svg)](https://doi.org/10.21105/joss.03741)

[![coverage](https://gitlab.com/culturalcartography/text2map/badges/master/coverage.svg)](https://gitlab.com/culturalcartography/text2map/-/commits/master)

[![repo status](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)

[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/license/mit) 

[![](https://cranlogs.r-pkg.org/badges/text2map)](https://cran.r-project.org/package=text2map)






JOSS Publication

text2map: R Tools for Text Matrices
Published
April 20, 2022
Volume 7, Issue 72, Page 3741
Authors
Dustin S. Stoltz ORCID
Lehigh University
Marshall A. Taylor ORCID
New Mexico State University
Editor
Chris Hartgerink ORCID
Tags
text analysis word embeddings document-term matrices

Committers

Last synced: 4 months ago

All Time
  • Total Commits: 361
  • Total Committers: 4
  • Avg Commits per committer: 90.25
  • Development Distribution Score (DDS): 0.213
Past Year
  • Commits: 5
  • Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dustin Stoltz s****d@g****m 284
dustinstoltz s****d@f****m 41
Marshall Taylor m****2@s****u 21
Marshall A. Taylor m****2@n****u 15
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

Packages

  • Total packages: 1
  • Total downloads:
    • cran 281 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 10
  • Total maintainers: 1
cran.r-project.org: text2map

R Tools for Text Matrices, Embeddings, and Networks

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 281 Last month
Rankings
Stargazers count: 26.2%
Forks count: 28.8%
Dependent packages count: 29.8%
Average: 33.0%
Dependent repos count: 35.5%
Downloads: 44.7%
Maintainers (1)
Last synced: 4 months ago

Dependencies

DESCRIPTION cran
  • Matrix * depends
  • R >= 3.5.0 depends
  • ClusterR * imports
  • doParallel * imports
  • dplyr * imports
  • fastmatch * imports
  • foreach * imports
  • igraph >= 1.2.6 imports
  • kit * imports
  • magrittr * imports
  • methods * imports
  • parallel * imports
  • qgraph >= 1.6.9 imports
  • rlang * imports
  • rsvd * imports
  • stringi * imports
  • stringr * imports
  • text2vec * imports
  • tibble * imports
  • knitr * suggests
  • quanteda * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests
  • tidytext * suggests
  • tm * suggests