Tag: R
-
R-Conference 2022
Presentation materials for “A Math-Fearing Social Scientistโs Basic R Toolkit: Scraping, Content and Network Analysis” presented at the R-Conference 2022 organized by the Malaysian R-User Group (MyRUG), 26-27 Nov 2022. Slides (PDF) R code for Google News example R code for Tale of Two Cities example (and the text data)
-
Basic Text Analysis and Visualization in R
At its most basic level, text analysis is about counting words. If words are frequently used, we assume that they are important. If words occur together, we assume that they are related. Obviously, that is not always the case, but a discerning researcher like yourself will be able to filter this information, provide context and…
-
Corpus Loading and Text Cleaning with Quanteda in R
Assuming you have a file with text data (perhaps a spreadsheet that you have exported as a CSV file, or data scraped from Google News), you can now start to build and clean your corpus. Fortunately, this is made very easy by functions in the Quanteda package. First, we load quanteda and the corpus (mycorpus.csv…
-
[ASB Research Center Reading Group] Media Analysis with R
This session provides a basic introduction to media analysis using R. It addresses the full workflow of acquiring the data, cleaning and processing, and then some simple analysis and visualization. We will acquire data from two sources: Google News RSS feeds and Twitter. Before joining the session, please make sure that you have: You can…
-
Google News Scraping in R
Google News is a popular news aggregator that can be used to search for news from diverse sources. You may have heard of Google News alert e-mails, but you can also use the service to scrape news stories for the purposes of systematic text analysis. This post provides an example of how to use tidyRSS…
-
Https for Self-Hosted R Studio and R Shiny Apps
One of the wonderful things about R Studio (and R Shiny) is that you can host them on your own Linux server (together with Lime Survey, for example). This allows you to access these resources from different locations, let’s you run them for hours or days in the background, and let’s you share them with…
-
(Korean) Text Analysis in R and Pajek (incomplete)
R and its almost endless library of packages and plug-ins (CRAN) mean that you can do almost anything in R, including text analysis and network analysis. While you could do everything in R, that doesn’t mean you should. Specialized network analysis software can also be very useful when interpreting, analyzing or visualizing a network, as…
-
limer code examples
limer is an R package that enable R users to connect directly to a Lime Survey installation via its API (for details, see earlier post), essentially giving you remote control and a possibility of automating certain procedures. Because the documentation of limer and the Lime Survey API is a bit minimal and therefore quite confusing…
-
Lime Survey and R: limer
Lime Survey is (probably) the world’s most popular open source survey package and R is the world’s most popular open source statistical and data analysis software (probably). So it seems only natural that there should be a bridge between the two: where the limitations of Lime Survey begin, R can take over and vice-versa. Thankfully…