Third edition of **Analyzing Financial and Economic Data with R**
It is with great pleasure that I announce the third edition of “Analyzing Financial and Economic Data with R”. This work is an international edition of my R book and a lifelong project. My plan is to keep improving the content as much as possible over the next years. I’m happy to see that, just like good wine, the content of the book only gets better with time.
Besides the usual revision and improvement of the text, here are the main changes:
- New pipeline operator
A new pipeline operator (
|>) was introduced in R version 4.1.0. While the old pipeline from magrittr can still be found in the wild, my best bet is that, given its native quality and ease of use, the new pipeline will dominate the scene. The book is now only presenting the new pipeline in all chapters.
- New packages
- Many of the packages used in the previous edition have changed over the years, or became unavailable. A couple of packages were dropped from CRAN, and others were substituted by upgraded versions. There were many personal and biased selections of packages on my side, but I’m confident that these R packages are going to be available in the future years.
- New book package
- I rewrote package afedR3 towards a modular approach, focusing in usability and future maintenance. It also includes a testing framework in Github, which will make sure all content in the book is working as expected.
- Improved compilation
- I implemented many changes in the code that compiles the book, prioritizing the use of functions that control all aspects of the text. While this work will not impact the final, visual result, the book is now far easier to maintain and change.
I hope you enjoy this new edition. Its been a great pleasure to maintain the book towards an international audience, and I hope I can keep upgrading it over the next decades.
Here are the main information and selling points of the book:
- Public version available at https://www.msperlin.com/afedR, with the first seven chapters freely available;
- Full version available at Amazon, as ebook and printed soft/hard cover
- 13 chapters covering basic R/RStudio operations, importing data locally and from the internet, programming with R, cleaning data, creating figures with ggplot2, and more!
- 99 end of chapter exercises. The book package cointains all the end-of-chapter exercises in the
examsformat and can be used locally to export exercises to pdf files and e-learning platforms such as Moodle and Blackboard. Check out this blog post for details.
My R books are a lifelong project and I plan to keep improving the work as much as possible over the next years. I’m happy to see that, just like a good wine, the content of the book only gets better with the passage of time.