Analyzing Financial and Economic Data with R (Second Edition)


Where to buy it

You can purchase the book from Amazon as an ebook or paperback. An online version of the book, with the first seven chapters is available here.


You can cite the book as:

PERLIN, Marcelo S. Analyzing Financial and Economic Data with R. 2 ed. Porto Alegre: Marcelo S. Perlin (independent publisher), 2020.


This book introduces the reader to the use of R and RStudio as a platform for analyzing financial and economic data. The book covers all necessary knowledge for using R, from its installation in your computer to the organization and development of scripts. For every chapter, the book presents practical and replicable examples of R code, providing context and facilitating the learning process.

This is what you’ll learn from this book:

01 - Using R and RStudio

02 - Importing financial and economic data

03 - Cleaning, structuring and analyzing the data with R

04 - Creating a visual analysis of data

05 - Reporting your results

06 - Writing better and faster code

Supplement Material

01-Online edition

02-Solutions to end of chapter exercises

03-Compiling book exercises to pdf, html or e-learning platforms

04-Book package in Github

05-Data, Code and Exercises

06-Table of Contents

Installing R and RStudio: |

CRAN pages:

R Views for Finance | R Consortium | Official R Manual | CRAN Policies


Official RMarkdown Tutorial

Creating Packages:

Hadleys Guide for creating packages

R code style:

Google R style guide | Tidyverse style guide

Marcelo S. Perlin
Marcelo S. Perlin
Associate Professor

My research interests include data analysis, finance and cientometrics.

comments powered by Disqus