Mastering Shiny


Book Description

Master the Shiny web framework—and take your R skills to a whole new level. By letting you move beyond static reports, Shiny helps you create fully interactive web apps for data analyses. Users will be able to jump between datasets, explore different subsets or facets of the data, run models with parameter values of their choosing, customize visualizations, and much more. Hadley Wickham from RStudio shows data scientists, data analysts, statisticians, and scientific researchers with no knowledge of HTML, CSS, or JavaScript how to create rich web apps from R. This in-depth guide provides a learning path that you can follow with confidence, as you go from a Shiny beginner to an expert developer who can write large, complex apps that are maintainable and performant. Get started: Discover how the major pieces of a Shiny app fit together Put Shiny in action: Explore Shiny functionality with a focus on code samples, example apps, and useful techniques Master reactivity: Go deep into the theory and practice of reactive programming and examine reactive graph components Apply best practices: Examine useful techniques for making your Shiny apps work well in production




Outstanding User Interfaces with Shiny


Book Description

Outstanding User Interfaces with Shiny provides the reader with necessary knowledge to develop beautiful and highly interactive user interfaces. It gives the minimum requirements in HTML/JavaScript and CSS to be able to extend already existing Shiny layouts or develop new templates from scratch. Suitable for anyone with some experience of Shiny, package development and software engineering best practices, this book is an ideal guide for graduates and professionals who wish to bring their app design to the next level. Key Features: Provides a survival kit in web development to seamlessly get started with HTML/CSS/JavaScript Leverage CSS and Sass and higher-level tools like {bslib} to substantially enhance the design of your app in no time A comprehensive guide to the {htmltools} package to seamlessly customize existing layouts Describes in detail how Shiny inputs work and how R and JavaScript communicate Details all the necessary steps to create a production-grade custom template from scratch: packaging, shiny tags creation, validating and testing R components and JavaScript Expose common web development debugging technics Provides a list of existing templates, resources to get started and to explore




Mastering Spark with R


Book Description

If you’re like most R users, you have deep knowledge and love for statistics. But as your organization continues to collect huge amounts of data, adding tools such as Apache Spark makes a lot of sense. With this practical book, data scientists and professionals working with large-scale data applications will learn how to use Spark from R to tackle big data and big compute problems. Authors Javier Luraschi, Kevin Kuo, and Edgar Ruiz show you how to use R with Spark to solve different data analysis problems. This book covers relevant data science topics, cluster computing, and issues that should interest even the most advanced users. Analyze, explore, transform, and visualize data in Apache Spark with R Create statistical models to extract information and predict outcomes; automate the process in production-ready workflows Perform analysis and modeling across many machines using distributed computing techniques Use large-scale data from multiple sources and different formats with ease from within Spark Learn about alternative modeling frameworks for graph processing, geospatial analysis, and genomics at scale Dive into advanced topics including custom transformations, real-time data processing, and creating custom Spark extensions




Interactive Web-Based Data Visualization with R, plotly, and shiny


Book Description

The richly illustrated Interactive Web-Based Data Visualization with R, plotly, and shiny focuses on the process of programming interactive web graphics for multidimensional data analysis. It is written for the data analyst who wants to leverage the capabilities of interactive web graphics without having to learn web programming. Through many R code examples, you will learn how to tap the extensive functionality of these tools to enhance the presentation and exploration of data. By mastering these concepts and tools, you will impress your colleagues with your ability to quickly generate more informative, engaging, and reproducible interactive graphics using free and open source software that you can share over email, export to pdf, and more. Key Features: Convert static ggplot2 graphics to an interactive web-based form Link, animate, and arrange multiple plots in standalone HTML from R Embed, modify, and respond to plotly graphics in a shiny app Learn best practices for visualizing continuous, discrete, and multivariate data Learn numerous ways to visualize geo-spatial data This book makes heavy use of plotly for graphical rendering, but you will also learn about other R packages that support different phases of a data science workflow, such as tidyr, dplyr, and tidyverse. Along the way, you will gain insight into best practices for visualization of high-dimensional data, statistical graphics, and graphical perception. The printed book is complemented by an interactive website where readers can view movies demonstrating the examples and interact with graphics.




Advanced R


Book Description

An Essential Reference for Intermediate and Advanced R Programmers Advanced R presents useful tools and techniques for attacking many types of R programming problems, helping you avoid mistakes and dead ends. With more than ten years of experience programming in R, the author illustrates the elegance, beauty, and flexibility at the heart of R. The book develops the necessary skills to produce quality code that can be used in a variety of circumstances. You will learn: The fundamentals of R, including standard data types and functions Functional programming as a useful framework for solving wide classes of problems The positives and negatives of metaprogramming How to write fast, memory-efficient code This book not only helps current R users become R programmers but also shows existing programmers what’s special about R. Intermediate R programmers can dive deeper into R and learn new strategies for solving diverse problems while programmers from other languages can learn the details of R and understand why R works the way it does.




R for Data Science


Book Description

Learn how to use R to turn raw data into insight, knowledge, and understanding. This book introduces you to R, RStudio, and the tidyverse, a collection of R packages designed to work together to make data science fast, fluent, and fun. Suitable for readers with no previous programming experience, R for Data Science is designed to get you doing data science as quickly as possible. Authors Hadley Wickham and Garrett Grolemund guide you through the steps of importing, wrangling, exploring, and modeling your data and communicating the results. You'll get a complete, big-picture understanding of the data science cycle, along with basic tools you need to manage the details. Each section of the book is paired with exercises to help you practice what you've learned along the way. You'll learn how to: Wrangle—transform your datasets into a form convenient for analysis Program—learn powerful R tools for solving data problems with greater clarity and ease Explore—examine your data, generate hypotheses, and quickly test them Model—provide a low-dimensional summary that captures true "signals" in your dataset Communicate—learn R Markdown for integrating prose, code, and results




Learning Shiny


Book Description

Make the most of R's dynamic capabilities and implement web applications with Shiny About This Book Present interactive data visualizations in R within the Shiny framework Construct web dashboards in a simple, intuitive, but fully flexible environment Apply your skills to create a real-world web application with this step-by-step guide Who This Book Is For If you are a data scientist who needs a platform to show your results to a broader audience in an attractive and visual way, or a web developer with no prior experience in R or Shiny, this is the book for you. What You Will Learn Comprehend many useful functions, such as lapply and apply, to process data in R Write and structure different files to create a basic dashboard Develop graphics in R using popular graphical libraries such as ggplot2 and GoogleVis Mount a dashboard on a Linux Server Integrate Shiny with non-R-native visualization, such as D3.js Design and build a web application In Detail R is nowadays one of the most used tools in data science. However, along with Shiny, it is also gaining territory in the web application world, due to its simplicity and flexibility. Shiny is a framework that enables the creation of interactive visualizations written entirely in R and can be displayed in almost any ordinary web browser. It is a package from RStudio, which is an IDE for R. From the fundamentals of R to the administration of multi-concurrent, fully customized web applications, this book explains how to achieve your desired web application in an easy and gradual way. You will start by learning about the fundamentals of R, and will move on to looking at simple and practical examples. These examples will enable you to grasp many useful tools that will assist you in solving the usual problems that can be faced when developing data visualizations. You will then walk through the integration of Shiny with R in general and view the different visualization possibilities out there. Finally, you will put your skills to the test and create your first web application! Style and approach This is a comprehensive, step-by-step guide that will allow you to learn and make full use of R and Shiny's capabilities in a gradual way, together with clear, applied examples.




Mastering Data Visualization with Microsoft Visio Professional 2016


Book Description

Master the art of presenting information visually using Microsoft Visio Professional 2016 and Visio Pro for Office365 About This Book A complete guide to data visualization with Microsoft Visio Professional 2016 Visualize information to meet the needs of your business Get the quick way to learn Microsoft Visio 2016 Who This Book Is For This book is aimed at the departmental-level business intelligence professional or Microsoft Office power-user who wants to create data diagrams with Microsoft Visio that can accurately represent business information visually. What You Will Learn Add external data from a variety of data sources Represent information with data graphics Create custom data-like shapes Export data from structured diagrams Present information graphics to non-Visio users Automate visualizations from data Develop custom templates and code for others In Detail Microsoft Visio Professional is a data visualization application that is used by many different market sectors and many different departments to represent information visually, from network infrastructure to organization charts, from process diagrams to office layouts. Starting off with a brief introduction to Visio Professional 2016 and then moving on to data storage, linking data to shapes, and working with SQL Server to create a solid foundation. Then we'll cover topics such as refreshing data, working with geographical data, working with various graphics, and diagrams, and more. Finally, you'll find out how to deploy custom stencils, templates, and code. Style and approach This book has real life examples that will let you explore all the new features of Microsoft Visio 2016 and apply them in your daily life.




Mastering Leadership


Book Description

Is your leadership a competitive advantage, or is it costing you? How do you know? Are you developing your leadership effectiveness at the pace of change? For most leaders today, complexity is outpacing their personal and collective development. Most leaders are in over their heads, whether they know it or not. The most successful organizations over time are the best led. While this has always been true, today escalating global complexity puts leadership effectiveness at a premium. Mastering Leadership involves developing the effectiveness of leaders—individually and collectively—and turning that leadership into a competitive advantage. This comprehensive roadmap for optimal leadership features: Breakthrough research that connects increased leadership effectiveness with enhanced business performance The first fully integrated Universal Model of Leadership—one that integrates the best theory and research in the fields of Leadership and Organizational Development over the last half century A free, online self-assessment of your leadership, using the Leadership Circle Profile, visibly outlining how you are currently leading and how to develop even greater effectiveness The five stages in the evolution of leadership—Egocentric, Reactive, Creative, Integral, and Unitive—along with the organizational structures and cultures that develop at each of these stages Six leadership practices for evolving your leadership capability at a faster pace A map of your optimal path to greater leadership effectiveness Case stories that facilitate pragmatic application of this Leadership Development System to your particular situation This timeless, authoritative text provides a systemic approach for developing your senior leaders and the leadership system of your organization. It does not recommend quick fixes, but argues that real development requires a strategic, long-term, and integrated approach in order to forge more effective leaders and enhanced business performance. Mastering Leadership offers a developmental pathway to bring forth the highest and best use of yourself, your life, and your leadership. By more meaningfully deploying all of who you are every day, individually and collectively, you will achieve a leadership legacy consistent with your highest aspirations.




Reproducible Finance with R


Book Description

Reproducible Finance with R: Code Flows and Shiny Apps for Portfolio Analysis is a unique introduction to data science for investment management that explores the three major R/finance coding paradigms, emphasizes data visualization, and explains how to build a cohesive suite of functioning Shiny applications. The full source code, asset price data and live Shiny applications are available at reproduciblefinance.com. The ideal reader works in finance or wants to work in finance and has a desire to learn R code and Shiny through simple, yet practical real-world examples. The book begins with the first step in data science: importing and wrangling data, which in the investment context means importing asset prices, converting to returns, and constructing a portfolio. The next section covers risk and tackles descriptive statistics such as standard deviation, skewness, kurtosis, and their rolling histories. The third section focuses on portfolio theory, analyzing the Sharpe Ratio, CAPM, and Fama French models. The book concludes with applications for finding individual asset contribution to risk and for running Monte Carlo simulations. For each of these tasks, the three major coding paradigms are explored and the work is wrapped into interactive Shiny dashboards.