Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Spark for Data Science

You're reading from  Mastering Spark for Data Science

Product type Book
Published in Mar 2017
Publisher Packt
ISBN-13 9781785882142
Pages 560 pages
Edition 1st Edition
Languages
Authors (4):
Andrew Morgan Andrew Morgan
Profile icon Andrew Morgan
Antoine Amend Antoine Amend
Profile icon Antoine Amend
Matthew Hallett Matthew Hallett
Profile icon Matthew Hallett
David George David George
Profile icon David George
View More author details

Table of Contents (22) Chapters

Mastering Spark for Data Science
Credits
Foreword
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
The Big Data Science Ecosystem Data Acquisition Input Formats and Schema Exploratory Data Analysis Spark for Geographic Analysis Scraping Link-Based External Data Building Communities Building a Recommendation System News Dictionary and Real-Time Tagging System Story De-duplication and Mutation Anomaly Detection on Sentiment Analysis TrendCalculus Secure Data Scalable Algorithms

Summary


In this chapter, we have seen why datasets should always be thoroughly understood before too much exploration work is undertaken. We have discussed the details of structured data and dimensional modeling, particularly with respect to how this applies to the GDELT dataset, and have expanded the GKG model to show its underlying complexity.

We have explained the difference between the traditional ETL and newer schema-on-read ELT techniques, and have touched upon some of the issues that data engineers face regarding data storage, compression, and data formats - specifically the advantages and implementations of Avro and Parquet. We have also demonstrated that there are several ways to explore data using the various Spark API, including examples of how to use SQL on the Spark shell.

We can conclude this chapter by mentioning that the code in our repository pulls everything together and is a full model for reading in raw GKG files (use the Apache NiFi GDELT data ingest pipeline from Chapter...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}