Blog Archives

R as learning tool: solving integrals

May 5, 2018
By
R as learning tool: solving integrals

Integrals are so easy only math teachers could make them difficult.When I was in high school I really disliked math and, with hindsight, I would say it was just because of the the prehistoric teaching tools (when I saw this video I thought I’m not alone). I strongly believe that interaction CAUSES learning (I’m using “causes” here … Continue reading R...

Read more »

“Print hello”​ is not enough. A collection of Hello world functions.

December 15, 2017
By
“Print hello”​ is not enough. A collection of Hello world functions.

I guess I wrote my R “hello world!” function 7 or 8 years ago while approaching R for the first time. And it is too little to illustrate the basic syntax of a programming language for a working program to a wannabe R programmer. Thus, here follows a collection of basic functions that may help … Continue reading “Print...

Read more »

Web data acquisition: from database to dataframe for data analysis and visualization (Part 4)

June 6, 2017
By
Web data acquisition: from database to dataframe for data analysis and visualization (Part 4)

The previous post described how the deeply nested JSON data on fligths were parsed and stored in an R-friendly database structure. However, looking into the data, the information is not yet ready for statistical analysis and visualization and some further processing is necessary before extracting insights and producing nice plots. In the parsed batch, it … Continue reading Web...

Read more »

Web data acquisition: parsing json objects with tidyjson (Part 3)

March 24, 2017
By
Web data acquisition: parsing json objects with tidyjson (Part 3)

The collection of example flight data in json format available in part 2, described the libraries and the structure of the POST request necessary to collect data in a json object. Despite the process generated and transferred locally a proper response, the data collected were neither in a suitable structure for data analysis nor immediately … Continue reading Web...

Read more »

Web data acquisition: the structure of RCurl request (Part 2)

March 2, 2017
By

The acquisition of data in json structure presented in part 1 clearly showed the functioning of the client-server connection and the possibility to collect the data of interest. However, the json output appeares as a set of raw data in a json string that needs to be structured and stored in a suitable form for … Continue reading Web...

Read more »

Web data acquisition: understanding RCurl from the command line (Part 1)

March 2, 2017
By

After the short presentation here, let’s start using R seriously, i.e. with every day data. Being a frequent flyer, I often search the web to book flights and organise my trip. Being a data analyst, it’s natural to look at price data with interest, especially the most convenient, most expensive and “average” flights. Being a … Continue reading Web...

Read more »

Search R-bloggers


Sponsors

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)