Practical R for Mass Communication and Journalism (The R Series) by Sharon Machlis
Do you want to use R to tell stories? This book was written for you―whether you already know some R or have never coded before.
Most R texts focus only on programming or statistical theory. Practical R for Mass Communication and Journalism gives you ideas, tools, and techniques for incorporating data and visualizations into your narratives.
You’ll see step by step how to:
Analyze airport flight delays, restaurant inspections, and election results
Map bank locations, median incomes, and new voting districts
Compare campaign contributions to final election results
Extract data from PDFs
Whip messy data into shape for analysis
Scrape data from a website
Create graphics ranging from simple, static charts to interactive visualizations for the Web
If you work or plan to work in a newsroom, government office, non-profit policy organization, or PR office, Practical R for Mass Communication and Journalism will help you use R in your world.
This book has a companion website with code, links to additional resources, and searchable tables by function and task.
Author(s): Sharon Machlis
Series: The R Series
Publisher: CRC Press
Year: 2019
Language: English
Pages: 261
Tags: Statistics, R
1 Get Started With R in a Few Easy Steps
2 See How Much You Can Do in a Few Lines of Code
3 Import Data into R
4 Basic Data Exploration
5 Beginning data visualization
6 Two or more data sets
7 Analyze data by groups
8 Graphing by Group
9 Write your own R functions
10 Maps in R
11 Putting it all Together: R on Election Day
12 Date calculations
13 Help! My data’s in the wrong format!
14 Integrate R With Your Storytelling Using R Markdown
15 Simple Web scraping
16 An R project from start to finish
Appendix A Online: How do I
Appendix B Online: Functions
Appendix C Online: Packages