Book release – Analyzing Financial and Economic Data with R (2º edition)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
After a couple of unexpected delays, I am very pleased to announce the publication of the second edition of my book, Analyzing Financial and Economic Data with R. You can find it in Amazon as an ebook or print. An online version is available here. More details, including suplementary material, are available in the book webpage.
The first edition was released back in 2017 and it was a great journey working once again in this material. Many sections and chapters have been improved, along with new content. Here are the main changes:
- Alignment with the tidyverse
- Some base function are presented but priority is for
readr
,ggplot2
,dplyr
,stringr
,purrr
and so on. - 100+ pages of new content (a 25% overall increase from previous edition).
- Some base function are presented but priority is for
- Teaching Material
- Static end of chapter exercises, with solutions publicly available in the internet;
- Rmarkdown slides for each chapter will soon be available in the internet (I’ll need a couple of weeks);
- Dynamic 90+ exercises with the
exams
package. This means you can create and grade randomized unique tests for your students (see this post for details);
- Book package
afedR
- This package makes it easier to import book datasets, slides, functions and solutions for end-of-chapter exercises. Available in GitHub only.
- Three new chapters
- Cleaning and Structuring Financial and Economic Data – How to clean financial and economic data by dealing with long/wide dataframes, outlier detection/removal and desinflating prices and indexes.
- Reporting Results – Using
xtable
andtexreg
to report tables and models. Includes a special section on RMarkdown. - Optimizing Code – Profiling code for bottlenecks and using vectorization,
rcpp
andmemoise
to speed up R computations.
- Two new packages in CRAN
simfinR
– grabs corporate datasets from the SimFin project;GetQuandlData
– uses Quandl json api and caching for easier and faster data importation;
If you liked the material, please consider purchasing it and leaving your feedback at Amazon. Your oppinion is very important for promoting the book and help others learn more about R and RStudio. As an author, I certainly appreciate the gesture and will take it as a motivating factor for future editions of the book.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.