Blog Archives

So, What Are You? ..A Plant? ..An Animal? — Nope, I’m a Fungus!

November 28, 2012
By
So, What Are You? ..A Plant? ..An Animal? — Nope, I’m a Fungus!

Lately I had a list of about 1000 species names and I wanted to filter out only the plants as that is where I come from. I knew that Scott Chamberlain has put together the ritis package which obviously can do such things. However, I knew of ITIS before and was keen...

Read more »

Merging Dataframes by Partly Matching String

September 29, 2012
By

The latest posting by Tony Hirst sparked my attention because I was thinking about a very similar issue recently.I was also fiddling around with agrep and adist until I realised that for this very issue matching of substrings is not as important as matching multiple words.. With this different approach I quite easily matched all but 3...

Read more »

Reading and Text Mining a PDF-File in R

September 27, 2012
By
Reading and Text Mining a PDF-File in R

I just added this R-script that reads a PDF-file to R and does some text mining with it to my Github repo..

Read more »

Use GBIF and googleVis to Make Maps with Species Occurrence Data

September 24, 2012
By
Use GBIF and googleVis to Make Maps with Species Occurrence Data

This is a short follow up on THIS posting.. I will briefly show how to use the dismo- and the googeVis package to plot species occurrences on an interactive Google map, like the one below (HERE is the R-script)MapID2ce4348e653

Online Questionnaire & Report Generation with Google Drive & R

September 17, 2012
By

Here's how I did it in 3 easy steps: (1) Set up a form in Google Docs/Drive. (2) Choose "Actions" and "Embed in Website" to get the URL for the iframe and put it in a post, like below. Then, go to the spreadsheet view of the form on Google Docs/Drive a...

Read more »

Get Long-Term Climate Data from KNMI Climate Explorer

September 6, 2012
By
Get Long-Term Climate Data from KNMI Climate Explorer

You can query global climate data from the KNMI Climate Explorer (the KNMI is the Royal Netherlands Metereological Institute) with R.Here's a little example how I retreived data for my hometown Innsbruck, Austria and plotted annual total precipitation....

Read more »

Follow-Up: Making a Word Cloud for a Search Result from GScholar_Scraper_3.1

August 30, 2012
By
Follow-Up: Making a Word Cloud for a Search Result from GScholar_Scraper_3.1

Here's a short follow-up on how to produce a word cloud for a search result from GScholarScraper_3.1:# File-Name: GScholarScraper_3.1.R# Date: 2012-08-22# Author: Kay Cichini# Email: [email protected]# Purpose: Scrape Google Scholar search result# ...

Read more »

Toy Example with GScholarScraper_3.1

August 24, 2012
By
Toy Example with GScholarScraper_3.1

A commentator on my blog brought up this nice idea of how to use the GScholarScraper function for bibliometrics..I altered the code a little bit which enables to set a year since when results should be returned and added a field to the output collectin...

Read more »

Web-Scraper for Google Scholar Updated!

August 22, 2012
By
Web-Scraper for Google Scholar Updated!

I have updated the Google Scholar Web-Scraper Function GScholarScaper_2 to GScholarScraper_3 (and GScholarScaper_3.1) as it was outdated due to changes in the Google Scholar html-code. The new script is more slender and faster. It returns a dataframe o...

Read more »

Tcl/Tk GUI Example with Variable Input by User

August 11, 2012
By
Tcl/Tk GUI Example with Variable Input by User

I recently used R with GUI-elements for the first time and browsed through the available online resources, but I didn't quite find what I was searching for: The user should be able to put in some variables and call a function with a button. In the end ...

Read more »