README.md

tmasc

Tidy data sets of reports of altered states of consciousness, suitable for text mining analyses.

tmasc currently contains two data sets, erowid and dreamjournal. These data sets are fairly large (about 50mb each), which leads to a long install time. Installing the package may take up to a few minutes. (You might also experience a few seconds delay when first calling the data sets in your R session.)

Installing

The package is not available on CRAN, but can be easily installed from GitHub, using the devtools package.

# install.packages(devtools)  # Install if required
devtools::install_github("mvuorre/tmasc")

Usage

The package can then be loaded, and the contained data sets processed with familiar functions from the tidyverse packages.

library(tmasc)
library(tidyverse)
library(stringr)

Please see the package's website for more information.

References

Scraping these data from the web was made possible by

If you use these data sets, please provide a link to this website, and cite tmasc:

citation("tmasc")
#> 
#> To cite package 'tmasc' in publications use:
#> 
#>   Matti Vuorre (2016). tmasc: Text Mining Altered States of
#>   Consciousness. R package version 0.2.5.
#>   https://github.com/mvuorre/tmasc
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {tmasc: Text Mining Altered States of Consciousness},
#>     author = {Matti Vuorre},
#>     year = {2016},
#>     note = {R package version 0.2.5},
#>     url = {https://github.com/mvuorre/tmasc},
#>   }

Additionally, please acknowledge any other software you use. Thanks, and have a good day.



mvuorre/tmasc documentation built on Oct. 25, 2019, 8:56 p.m.