Welcome to the GitHub repo for my book, Practical R for Mass Communications and Journalism. Now available from CRC Press and Amazon, as well as Google Play and Barnes & Noble.
This site includes post-publication updates and errata. Note: The best way to let me know about suggested updates and corrections is by opening an issue in the book's GitHub repository.
You can read sample chapters at http://www.machlis.com/R4Journalists/ including:
- Get Started With R in a Few Easy Steps
- See How Much You Can Do in a Few Lines of Code
- Import Data into R
- Basic Data Exploration
- Putting it all Together: R on Election Day
The book's GitHub repo (permalink at https://github.com/smach/R4JournalismBook) features companion data files the book, as well as links to additional data and resources.
You can also see a searchable chart of tasks covered in the book, functions covered, and packages used.
Thanks for your interest!