qdap: qdap Version 2.2.0
Tyler W. Rinker, Colin S. Gillespie, Craig Citro · Zenodo (CERN European Organization for Nuclear Research) · 2014
NEWS Versioning Releases will be numbered with the following semantic versioning format: . . And constructed with the following guidelines: Breaking backward compatibility bumps the major (and resets the minor and patch) New additions without breaking backward compatibility bumps the minor (and resets the patch) Bug fixes and misc. changes bumps the patch CHANGES IN qdap VERSION 2.2.0 BUG FIXES bag_o_words did not make use of the bag_o_words2 helper function that has finer grained control of the output. ... were ignored but now are respected. fry threw an error if a group contained 1 grams due to a bug in sentiment_frame converting character to factor (thanks for the find @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 in browseVignettes(package = 'qdap'). MINOR FEATURES sub_holder picks up a alpha.type argument that allows the user to specify whether alpha or numeric keys should be used. replace_number picks up a remove 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 becomes as.Corpus. Here is a complete list of changes: df2tm_courpus is now as.Corpus tm_corpus2df is now as.data.frame as.wfm is now a generic method tm_corpus2wfm is now as.wfm tm2qdap is now as.wfm tdm is now as.tdm or as.TermDocumentMatrix dtm is now as.dtm or as.DocumentTermMatrix CHANGES colsplit2df and colpaste2df no longer convert character columns to factor. df2tm_corpus is deprecated. It will be removed in a subsequent version of qdap. Use as.Corpus instead. tm_corpus2df is deprecated. It will be removed in a subsequent version of qdap. Use as.data.frame instead. tm2qdap is deprecated. It will be removed in a subsequent version of qdap. Use as.wfm instead. tm_corpus2wfm is deprecated. It will be removed in a subsequent version of qdap. Use as.wfm instead. tdm is deprecated. It will be removed in a subsequent version of qdap. Use as.tdm or as.TermDocumentMatrix instead. dtm is deprecated. It will be removed in a subsequent version of qdap. Use as.dtm or as.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 the build_qdap_vignette directly. qdap incorporates the changes from the tm package version: 0.6: http://cran.r-project.org/web/packages/tm/news.html Reference issue #187. CHANGES IN qdap VERSION 2.0.0 The qdapTools package now houses several former qdap functions. While qdapTools is a Dependency and all of these functions will be accessible to the qdap user there is a break in backward compatibility if these functions are included in code. For this reason this release is a major bump of qdap. BUG FIXES replace_number did not replace single digits numbers. Spotted by Ben Bolker. This behavior has been fixed and unit testing added for this function. See issue #178. NEW FEATURES sub_holder added; this function holds the place for particular character values, allowing the user to manipulate the vector and then revert the place holders back to the original values. Network method added to make network plots of select qdap objects. qtheme, theme_nightheat, theme_duskheat, theme_norah,theme_cafe, theme_grayscale,theme_badkitchen, andtheme_hipsteradded to style Network` plots. polarity picks up a Network method