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
02-Solutions to end of chapter exercises
03-Compiling book exercises to pdf, html or e-learning platforms
Installing R and RStudio:
https://www.r-project.org/ | https://www.rstudio.com
CRAN pages:
R Views for Finance | R Consortium | Official R Manual | CRAN Policies
RMarkdown:
Creating Packages:
Hadleys Guide for creating packages
R code style: