Practical R for mass communication and journalism /

Machlis, Sharon,

Practical R for mass communication and journalism / Sharon Machlis. - 246 pages : illustrations (some color), maps (chiefly color) ; 28 cm. - Chapman & Hall/CRC the R series . - Chapman & Hall/CRC the R series (CRC Press) .

Includes bibliographical references and index.

Introduction -- 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 -- Beginning data visualization -- Two or more data sets -- Analyze data by groups -- Graphing by group -- Write your own R functions -- Maps in R -- Putting it all together: R on election day -- Date calculations -- Help! My data's in the wrong format! -- Integrate R with your storytelling using R markdown -- Simple web scraping -- An R project from start to finish -- Additional resources -- Appendix A online: How do I ... -- Appendix B online: Functions -- Appendix C online: Packages -- Index.

"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." -- Back cover.

9781138726918

2018287464


R (Computer program language)
Digital media.
Journalism.

TK5105.8885 / .M33 2019

302.23102855133 / M184p