Blog Archives

Global Economic Maps

May 12, 2015
By
Global Economic Maps

IntroductionIn this post I am going to show how to extract data from web pages in table format, transform these data into spatial objects in R and then plot them in maps.ProcedureFor this project we need the following two packages: XML and raster.The first package is used to extract data from HTML pages, in particular from the sections marked...

Read more »

Exchange data between R and the Google Maps API using Shiny

May 10, 2015
By

A couple of years ago I wrote a post about using Shiny to exchange data between the Google Maps API and R: http://r-video-tutorial.blogspot.ch/2013/07/interfacing-r-and-google-maps.htmlBack then as far as I remember Shiny did not allow a direct exchange of data between javascript, therefore I had to improvise and extract data indirectly using an external table. In other words, that work was not...

Read more »

Run Shiny app on a Ubuntu server on the Amazon Cloud

May 8, 2015
By

This guide is more for self reference than anything else.  Since I struggled for two days trying to find all the correct setting to complete this task, gathering information from several websites, I decided to write a little guide on this blog so ...

Read more »

Extract values from numerous rasters in less time

May 7, 2015
By

These days I was working with a Shiny app for which the computation time is a big problem.Basically this app takes some coordinates, extract values from 1036 rasters for these coordinates and make some computations.  As far as I can (and please correct me if I'm wrong!) tell there are two ways of doing this task:1) load all the...

Read more »

Downloading and Visualizing Seismic Events from USGS

April 28, 2015
By
Downloading and Visualizing Seismic Events from USGS

The unlucky events that took place in Nepal have flooded the web with visualization of the earthquakes from USGS. They normally visualize earthquakes with a colour scale that depends on the age of the event and a marker size that depends on magnitude. I remembered that some time ago I tested ways for downloading and visualizing data from USG...

Read more »

Accessing, cleaning and plotting NOAA Temperature Data

December 11, 2014
By
Accessing, cleaning and plotting NOAA Temperature Data

In my previous post I said that my students are using data from NOAA for their research.NOAA in fact provides daily averages of several environmental parameters for thousands of weather stations scattered across the globe, completely free. In details, NOAA provides the following data: Mean temperature for the day in degrees Fahrenheit to tenths Mean dew point for the...

Read more »

World Point Grid

December 10, 2014
By

These days I am following a couple of master projects dealing with renewable energy potentials at the global scale. We wanted to try and compute these potential using only free data and see how far we could go.For wind speed there are plenty of resourc...

Read more »

R Object-oriented Programming – Book Review

November 28, 2014
By
R Object-oriented Programming – Book Review

(This article was first published on R Video tutorial for Spatial Statistics, and kindly contributed to R-bloggers) I have been asked to review the book “R Object-oriented Programming” by Kelly Black, edited by Packt publishing (£14.45 for the E-Book, £27.99 for Print+E-Book). The scope of the book is “to provide a resource for programming using the R language” and...

Read more »

Changing the Light Azimuth in Shaded Relief Representation by Clustering Aspect

September 24, 2014
By

Some time ago I published an article on "The Cartographic Journal" regarding a method to automatically change the light azimuth in shaded relief representations.This method was based on clustering the aspect derivative of the DTM. The method was develo...

Read more »

Transform point shapefile to SpatStat object

August 19, 2014
By

Today I wanted to do some point pattern analysis in R using the fantastic package spatstat.The problem was that I only had a point shapefile, so I googled a way to transform a shapefile into a ppp object (which is the point pattern object used by spats...

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



http://www.eoda.de









ODSC

CRC R books series











Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)