Produce a repository of useful scripts in R for Product Managers
As the name suggests, Product Managers dealing with data that want to use R as a tool to analyse that data and produce reports/visualisations. If you haven't used R before then the first step will be to install R, for example:
- Local install on Windows
- Install R from https://cran.r-project.org/bin/windows/base/
- Install RStudio from https://www.rstudio.com/products/rstudio/download/
- Install in Cloud9
- Install in Amazon AWS
- RStudio AMI
The scripts should work pretty much unaltered from source, but if you want to edit them you'll need some background. For a taster these intro courses are free:
- Try R at Codeschool is a good intro that covers wide range of topics, but without much depth
- Introduction to R at Datacamp gives a much deeper understanding of data types and R structure.
- Beginner's guide to R: Introduction is more a reference than the two interactive courses above, ideal to skim if you have some scripting experience already
I already used Sublime as my text editor and can recommend R-Box to improve the R support - e.g. it adds R Markdown syntax highlighting.
This first section has some reports to get usage stats from Google Analytics, an example Shiny app for some data exploration using data controls, and a template R Markdown report to show how this data can be manipulated and presented.
Example analysis of components and logging output, including relative error rates - Coming soon
Working with time series data generated by the product, the two examples here are API response times and feature usage. This includes an example of manipulating time series data to set missing values to 0 for plotting.
Example of management reports on product backlog
Simple example of taking error data and using a pivot table to explore the data, after some cleaning and filtering. This kind of workflow can be useful with large data sets.