qdap Version 2.1.0
trinker
released this
15 Jun 20:21
·
280 commits
to master
since this release
CHANGES IN qdap VERSION 2.1.0
BUG FIXES
new_project
did not copy the .Rprofile over into the new project. This has
been fixed. Reference issue #184.sentiment_frame
coerced words to factor.stringsAsFactors = FALSE
has
been added to prebent this.polarity
did not work on > 1 grams due to a bug insentiment_frame
converting character to factor (chewth). See GitHub issue #185 for details.
NEW FEATURES
unique_by
added to allow the user to find terms unique to individual
elements of a grouping variable.build_qdap_vignette
replaces the temporary place holder version of the
Introduction to qdap vignette. This function will replace the (1) HTML,
(2) source, & (3) R code found inbrowseVignettes(package = 'qdap')
.
MINOR FEATURES
sub_holder
picks up aalpha.type
argument that allows the user to specify
whether alpha or numeric keys should be used.replace_number
picks up aremove
argument that removes numbers from text.
IMPROVEMENTS
qheat
becomes a generic method. This means some of the internal function
class checking has been moved to individual methods for those classes.
Additionally,qheat
now works with logical matrices/data.frames.- The
tm
package compatibility functions have been renamed in a more R-ish
way and take the form of generic methods for specific classes. For example,
df2tm_corpus
becomesas.Corpus
. Here is a complete list of changes:df2tm_courpus
is nowas.Corpus
tm_corpus2df
is nowas.data.frame
as.wfm
is now a generic methodtm_corpus2wfm
is nowas.wfm
tm2qdap
is nowas.wfm
tdm
is nowas.tdm
oras.TermDocumentMatrix
dtm
is nowas.dtm
oras.DocumentTermMatrix
CHANGES
colsplit2df
andcolpaste2df
no longer convert character columns to factor.df2tm_corpus
is deprecated. It will be removed in a subsequent version of
qdap
. Useas.Corpus
instead.tm_corpus2df
is deprecated. It will be removed in a subsequent version of
qdap
. Useas.data.frame
instead.tm2qdap
is deprecated. It will be removed in a subsequent version of
qdap
. Useas.wfm
instead.tm_corpus2wfm
is deprecated. It will be removed in a subsequent version of
qdap
. Useas.wfm
instead.tdm
is deprecated. It will be removed in a subsequent version ofqdap
.
Useas.tdm
oras.TermDocumentMatrix
instead.dtm
is deprecated. It will be removed in a subsequent version ofqdap
.
Useas.dtm
oras.DocumentTermMatrix
instead.- The Introduction to qdap .Rmd vignette has been moved to an internal
directory. The HTML version is not built by default. THis saves CRAN space
and time checking the package source. The file has been replaced with a
temporary place holder that contains instructions for building the actual
vignette. The user may also use thebuild_qdap_vignette
directly. qdap
incorporates the chanegs from thetm
package version: 0.6:
http://cran.r-project.org/web/packages/tm/news.html Reference issue #187.