Steph Locke shows how to use purrr to write functional style code in R:
And… et voila! A multi-language dataset with the language identified and the sentiment scored using purrr for easier to read code.
Using purrr with APIs makes code nicer and more elegant as it really helps interact with hierarchies from JSON objects. I feel much better about this code now!
Purrr is something I really want to dig into for reasons just like this.