qdap (Quantitative Discourse Analysis Package) is an R package designed to assist in quantitative discourse analysis. The package stands as a bridge between qualitative transcripts of dialogue and statistical analysis and visualization.
Installation
To download the development version of qdap:
Download the zip ball or tar ball, decompress and run R CMD INSTALL
on it, or use the devtools package to install the development version:
# install.packages("devtools") library(devtools) install_github("trinker/qdapDictionaries") install_github("trinker/qdapRegex") install_github("trinker/qdapTools") install_github("trinker/qdap")
Note: Windows users need Rtools and devtools to install this way.
Pingback: Parallelization: Speed up Functions in a Package | TRinker's R Blog
Thanks for building this package- I’ve been enjoying the functionality.
Certainly. I appreciate the feedback and if you have suggestions or improvements feel free to let me know at: https://github.com/trinker/qdap/issues
library(devtools)
Error in library(devtools) : there is no package called ‘devtools’
> install_github(“qdap”, “trinker”)
Error: could not find function “install_github”
wat to do now bro this doesnt worked out in R console
You missed the line: install.packages(“devtools”). I’m guessing you’re newer to R. I’d highly suggest you check out two resources I really found helpful: The intro manual (http://cran.wustl.edu/doc/manuals/R-intro.pdf) and the Quick-R cite (http://www.statmethods.net/). The Quick-R author, Kabacoff, is a very helpful and has written a book called R in Action that I also like a ton.
That’s really helpful!!! Yup, we are new to R. Thank you!
Hi Tyler! I am new to R and I am using it for my school project to conduct sentiment analysis on news articles. Which package would you recommend? qdap or sentimentr?:) In addition, do these packages take into account negation words/valance shifters? Thanks for your help in advance and looking forward to your reply!
For sentiment analysis I’d use sentimentr. it spun off of qdap but has vast improvements in accuracy and optimization as well as better user experience.
while installing through devtools i m getting following error on “install_github(“trinker/qdap”)”
checking for file ‘/tmp/Rtmpp5mkGU/remotes1391713107e7/trinker-qdap-5902d09/DESCRIPT✔ checking for file ‘/tmp/Rtmpp5mkGU/remotes1391713107e7/trinker-qdap-5902d09/DESCRIPTION’
─ preparing ‘qdap’:
E checking DESCRIPTION meta-information …
Malformed Depends or Suggests or Imports or Enhances field.
Offending entries:
Imports: chron
Entries must be names of packages optionally followed by ‘=’,
white space, and a valid version number in parentheses.
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
System command error
In addition: Warning message:
In is.na(remote_deps$package) :
is.na() applied to non-(list or vector) of type ‘NULL’
How to proceed on such errors ? Please help.