Book Image

Analytics for the Internet of Things (IoT)

By : Andrew Minteer
5 (1)
Book Image

Analytics for the Internet of Things (IoT)

5 (1)
By: Andrew Minteer

Overview of this book

We start with the perplexing task of extracting value from huge amounts of barely intelligible data. The data takes a convoluted route just to be on the servers for analysis, but insights can emerge through visualization and statistical modeling techniques. You will learn to extract value from IoT big data using multiple analytic techniques. Next we review how IoT devices generate data and how the information travels over networks. You’ll get to know strategies to collect and store the data to optimize the potential for analytics, and strategies to handle data quality concerns. Cloud resources are a great match for IoT analytics, so Amazon Web Services, Microsoft Azure, and PTC ThingWorx are reviewed in detail next. Geospatial analytics is then introduced as a way to leverage location information. Combining IoT data with environmental data is also discussed as a way to enhance predictive capability. We’ll also review the economics of IoT analytics and you’ll discover ways to optimize business value. By the end of the book, you’ll know how to handle scale for both data storage and analytics, how Apache Spark can be leveraged to handle scalability, and how R and Python can be used for analytic modeling.
Table of Contents (20 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

R (the pirate's language...if he was a statistician)


R is an open source statistical programming language. It has a wide variety of powerful libraries that are simple to download and plug into your analytics code. The packages are developed and maintained by a large community of statisticians and data scientists. It is very powerful and is continuously enhanced with new packages, which are released frequently.

Installing R and RStudio

If you do not have R, install the latest version from https://cran.rstudio.com/. Then, install RStudio, an Integrated Development Environment (IDE) for R, from https://www.rstudio.com/products/rstudio/download/. Both are open source and free to download and use. RStudio is managed by the RStudio company, based in Boston, which also offers paid support and an enterprise version of the software.

Using R for statistical analysis

For this example, we will use the datasets package, which has a wide variety of sample datasets. In RStudio, use the Packages tab to verify...