Tag Archives: R

GTrendsR package to Explore Google trending for Field Dependent Terms

My friend, Steve Simpson, introduced me to Philippe Massicotte and Dirk Eddelbuettel’s GTrendsR GitHub package this week. It’s a pretty nifty wrapper to the Google Trends API that enables one to search phrase trends over time. The trend indices that … Continue reading

Posted in r | Tagged , , , , , , , | 23 Comments

rmarkdown: Alter Action Depending on Document

Can I see a show of hands for those who love rmarkdown? Yeah me too. One nifty feature is the ability to specify various document prettifications in the YAML of a .Rmd document and then use: The Problem Have you … Continue reading

Posted in knitr, r, reports, Uncategorized, work flow | Tagged , , | 6 Comments

Exploration of Letter Make Up of English Words

This blog post will do a quick exploration of the grapheme make up of words in the English. Specifically we will use R and the qdap package to answer 3 questions: What is the distribution of word lengths (number of … Continue reading

Posted in discourse analysis, qdap | Tagged , , , , , | 5 Comments

Canned Regular Expressions: qdapRegex 0.1.2 on CRAN

We’re pleased to announce first CRAN release of qdapRegex! You can read about qdapRegex or skip right to the examples. qdapRegex is a collection of regular expression tools associated with the qdap package that may be useful outside of the context … Continue reading

Posted in qdap, regular expression, text, Uncategorized | Tagged , , , , , , | 2 Comments

Spell Checker for R…qdap::check_spelling

I often have had requests for a spell checker for R character vectors. The utils::aspell function can be used to check spelling but many Windows users have reported difficulty with the function. I came across an article on spelling in … Continue reading

Posted in qdap, Uncategorized | Tagged , , , , , , | 9 Comments

Hijacking R Functions: Changing Default Arguments

I am working on a package to collect common regular expressions into a canned collection that users can easily use without having to know regexes. The package, qdapRegex, has a bunch of functions in the form of rm_xxx. The only … Continue reading

Posted in package creation, Uncategorized | Tagged , , , , , , | 7 Comments

qdap 2.1.1 Released

We’re very pleased to announce the release of qdap 2.1.1 What is qdap? 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 … Continue reading

Posted in qdap, Uncategorized | Tagged , , , , , , , | 5 Comments

What Would Cohen Have Titled “The Earth is Round (p < .05)" in 2014?

The area of bibliometrics is not my area of expertise but is still of interest as a researcher. I sometimes think about how Google has impacted the way we title articles. Gone are the days of witty, snappy titles. Title … Continue reading

Posted in qdap, text, Uncategorized | Tagged , , , , , | 3 Comments

Handling @S3method’s Death in roxygen2 Version 4.0.0

This is a quickie post and specific to package maintainers who use roxygen2. Legal Disclaimer: This worked for me but make sure there’s not a corner case that would make it not work for you.  In other words back your … Continue reading

Posted in package creation, qdap, Uncategorized | Tagged , , , , | 2 Comments

Shape File Selfies in ggplot2

In this post you will learn how to: Create your own quasi-shape file Plot your homemade quasi-shape file in ggplot2 Add an external svg/ps graphic to a plot Change a grid grob's color and alpha *Note get simple .md version … Continue reading

Posted in discourse analysis, ggplot2, Uncategorized, visualization | Tagged , , , , | 1 Comment