SlideShare una empresa de Scribd logo
1 de 42
Descargar para leer sin conexión
#RSTATS LESSONS
FOR #MEASURE
01 Introduction of R and Measure
Communities
02 Overview of the Tidyverse
03 Environments and version
control
04 Tidy data
05 Data activation
Mark’s #measure #rstats timeline
2006
2007
2010
2012
2015
2016
2018
SEO reporting
Pulling Google
Analytics and Search
Console into Excel
dashboards
Move to Denmark
Move into Google
Analytics consultancy,
start using BigQuery
and Google Cloud
#measure
Open source
Start creating open-source
R packages, blogging at
code.markedmondson.me
Python
Start using Python to
create SEO tools
R
Start using R to create
attribution and
forecasting models on
Google Analytics data
#rstats
Google Developer
Expert
Publish Shiny
applications, become a
GDE for Google
Analytics/Cloud.
Develop R for Google
Cloud resources
including dartistics.com
and googleAnalyticsR
Data Engineering
Creating data pipelines
for machine learning
using Google Cloud, R,
Python
#RSTATS COMMUNITY
•R has been working on the process of
data analysis for since 1993
•2 million users estimated in 2012 (5
million users now?)
•10,000+ packages
•@rstudio has 60k followers
•1984 R jobs at www.indeed.nl
#MEASURE COMMUNITY
•Since ???? (1993 WebTrends?)
•MeasureCamps all over the world
•@googleanalytics has 1.05M followers on
Twitter
•1770 Google/Adobe Analytics jobs at
indeed.nl
#RSTATS AND #MEASURE TRENDS
WHAT LESSONS FROM
R
CAN APPLY TO
MEASURE ?
www.tidyverse.org
THE PIT OF SUCCESS
Q:What is the vision behind the “tidyverse”?
A: My long term goal is to create a pit of success where the default path
leads to a great result.
> HadleyWickham, Quora Q&A, 2016
Where “flow” and magic happens
Environment
Version Control
Sources
Collection
Activation
Tidy
Dashboards
APIs
Process
TIDYVERSE DATA FLOWS
1. REPRODUCIBILITY
Environment
HAPPY DATA ANALYSIS PEOPLE
A good work culture
Working on important
problems
Allowing failure,
freedom to experiment
Environment
CONSISTENT SOFTWARE
Consistent software
versions
Documentation
Docker
Environment
Version Control
DEDICATEDVERSION CONTROL
Have a system!
Shared drive links, not
email attachments
Git/SVN
Continuous Integration
GITHUB
FREESYOU
“Infinite Undo/Redo”
Delete code at will - free yourself from cognitive load of keeping legacy code
CONTINUOUS DEPLOYMENT
Environment Version Control
REPRODUCIBILITY
Freedom to experiment
Correction of mistakes
Trust in results
2.TIDY DATA
Environment
Version Control
Sources
Collection
TidyProcess
TIDY IS KEY PART OF DATA WORKFLOW
Gets rid of cognitive load for analysts
Easy to check data errors
Format already suitable for data ingestion
Can be carried out by less expensive resources
Happy families are all alike; every unhappy family is
unhappy in its own way
— LeoTolstoy
Tidy datasets are all alike but every messy dataset is
messy in its own way
— HadleyWickham
Tidy Data
https://cran.r-project.org/web/packages/tidyr/vignettes/tidy-data.html
http://garrettgman.github.io/tidying/
Tidy datasets are easy to manipulate, model and
visualize, and have a specific structure: each variable
is a column, each observation is a row, and each
type of observational unit is a table.
UNTIDY DATA - FAMILY A
http://garrettgman.github.io/tidying/
UNTIDY DATA - FAMILY B
Cases
Population
http://garrettgman.github.io/tidying/
TIDY DATA
http://garrettgman.github.io/tidying/
https://xkcd.com/1179/
TIDY
DATES!
TIDY RULES
• Each variable is a column
• Each row is an observation
• One table per dataset
• No totals included in columns
• No data as formatting (e.g. colour of cells…)
• Data types are defined e.g. string, numeric,
float, boolean, date
• Missing values are defined e.g. NA, NULL or 0
Data Storage
• Easy access to whoever needs it
• Able to cope with your data volume and velocity
• GDPR compliant
• Can handle different types of data such as video, images
For us on Google Cloud Platform that means: Cloud Storage and BigQuery
REPRODUCIBILITY Tidy
Data
HAPPY ANALYSTS
Mimimise data preparation
Construct consistent workflows
Easy to throw into visualisation tools
Where “flow” and magic happens
Happy Analysts
MAXIMISE THE FLOW
3. DATA ACTIVATION
I’ve spent 100,000 EUR on my
analytics infrastructure.
Where are my insights?
Data Activation
Time to action
Business
Impact
Bad Dashboards
Data APIs
Good Dashboards
Analysis
Report
Business
Alerts
R visualisation options
Base R plotting RMarkdown Shiny
Quick data exploration HTML,Word, PDF etc. Interactive R code
Time to Learn Customisation Reproducability Cost
Data Studio Easy Good Poor Free
PowerBI Medium OK Poor Minimal
Tableau Medium OK Poor Expensive
RMarkdown Medium Excellent High Free
Shiny Hard Excellent High Minimal
Excel Medium Good Terrible Free
Data APIs
OpenCPU
Scale R (or any other
language) to be
consumed by any
application
WHAT LESSONS FROM
R
CAN APPLY TO
MEASURE ?
Environment
Version Control
Sources
Collection
Activation
Tidy
Dashboards
APIs
Process
TIDYVERSE DATA FLOWS
Environment
Version Control
Sources
Collection
Activation
Tidy
Dashboards
APIs
Process
TIDYVERSE DATA FLOWS
Reproducibility
Happy Analysts
Where “flow” and
magic happens
R TAUGHT ME…
• Stable work environment and version control = Reproducibility
• Tidy data before analysis
• Low friction data analysis encourages “flow”
• Think deeply on final format of data
• Activated data is the ultimate goal
Copenhagen
Artillerivej 86

2300 København S

+45 70 20 29 19
Stockholm
Strandvägen 7A

114 56 Stockholm

+45 70 20 29 19
London
43A Southend Road

BR3 1SP. London

+45 70 20 29 19
Oslo
CJ Hambros plass 2

N-0164 Oslo

+45 70 20 29 19
Copenhagen
Artillerivej 86

2300 København S

+45 70 20 29 19
Stockholm
Strandvägen 7A

114 56 Stockholm

+45 70 20 29 19
London
43A Southend Road

BR3 1SP. London

+45 70 20 29 19
Oslo
CJ Hambros plass 2

N-0164 Oslo

+45 70 20 29 19
THANKYOU
Twitter @HoloMarkeD
Blog code.markedmondson.me
Email mark@iihnordic.com

Más contenido relacionado

La actualidad más candente

Big data-science-oanyc
Big data-science-oanycBig data-science-oanyc
Big data-science-oanyc
Open Analytics
 
Big data bi-mature-oanyc summit
Big data bi-mature-oanyc summitBig data bi-mature-oanyc summit
Big data bi-mature-oanyc summit
Open Analytics
 

La actualidad más candente (15)

R at Microsoft
R at MicrosoftR at Microsoft
R at Microsoft
 
Agile Data Science 2.0
Agile Data Science 2.0Agile Data Science 2.0
Agile Data Science 2.0
 
Big Data - Analytics with R
Big Data - Analytics with RBig Data - Analytics with R
Big Data - Analytics with R
 
Agile Data Science
Agile Data ScienceAgile Data Science
Agile Data Science
 
Taking R Analytics to SQL and the Cloud
Taking R Analytics to SQL and the CloudTaking R Analytics to SQL and the Cloud
Taking R Analytics to SQL and the Cloud
 
The Business Economics and Opportunity of Open Source Data Science
The Business Economics and Opportunity of Open Source Data ScienceThe Business Economics and Opportunity of Open Source Data Science
The Business Economics and Opportunity of Open Source Data Science
 
A Statistician Walks into a Tech Company: R at a Rapidly Scaling Healthcare S...
A Statistician Walks into a Tech Company: R at a Rapidly Scaling Healthcare S...A Statistician Walks into a Tech Company: R at a Rapidly Scaling Healthcare S...
A Statistician Walks into a Tech Company: R at a Rapidly Scaling Healthcare S...
 
Applications of R (DataWeek 2014)
Applications of R (DataWeek 2014)Applications of R (DataWeek 2014)
Applications of R (DataWeek 2014)
 
Building Scalable Prediction Services in R
Building Scalable Prediction Services in RBuilding Scalable Prediction Services in R
Building Scalable Prediction Services in R
 
Graph-Powered Machine Learning
Graph-Powered Machine Learning Graph-Powered Machine Learning
Graph-Powered Machine Learning
 
Using big data tools to analyze log files, event logs and performance metrics
Using big data tools to analyze log files, event logs and performance metricsUsing big data tools to analyze log files, event logs and performance metrics
Using big data tools to analyze log files, event logs and performance metrics
 
Big data-science-oanyc
Big data-science-oanycBig data-science-oanyc
Big data-science-oanyc
 
Signals from outer space
Signals from outer spaceSignals from outer space
Signals from outer space
 
Big data bi-mature-oanyc summit
Big data bi-mature-oanyc summitBig data bi-mature-oanyc summit
Big data bi-mature-oanyc summit
 
BDM26: Spark Summit 2014 Debriefing
BDM26: Spark Summit 2014 DebriefingBDM26: Spark Summit 2014 Debriefing
BDM26: Spark Summit 2014 Debriefing
 

Similar a #rstats lessons for #measure

Bluegranite AA Webinar FINAL 28JUN16
Bluegranite AA Webinar FINAL 28JUN16Bluegranite AA Webinar FINAL 28JUN16
Bluegranite AA Webinar FINAL 28JUN16
Andy Lathrop
 
zData BI & Advanced Analytics Platform + 8 Week Pilot Programs
zData BI & Advanced Analytics Platform + 8 Week Pilot ProgramszData BI & Advanced Analytics Platform + 8 Week Pilot Programs
zData BI & Advanced Analytics Platform + 8 Week Pilot Programs
zData Inc.
 
Belladati Meetup Singapore Workshop
Belladati Meetup Singapore WorkshopBelladati Meetup Singapore Workshop
Belladati Meetup Singapore Workshop
belladati
 

Similar a #rstats lessons for #measure (20)

Big Data Driven Solutions to Combat Covid' 19
Big Data Driven Solutions to Combat Covid' 19Big Data Driven Solutions to Combat Covid' 19
Big Data Driven Solutions to Combat Covid' 19
 
Big Data Analytics with R
Big Data Analytics with RBig Data Analytics with R
Big Data Analytics with R
 
Big Data Analytics
Big Data AnalyticsBig Data Analytics
Big Data Analytics
 
Data science | What is Data science
Data science | What is Data scienceData science | What is Data science
Data science | What is Data science
 
Overview data analyis and visualisation tools 2020
Overview data analyis and visualisation tools 2020Overview data analyis and visualisation tools 2020
Overview data analyis and visualisation tools 2020
 
Big data
Big dataBig data
Big data
 
Accelerate Self-Service Analytics with Data Virtualization and Visualization
Accelerate Self-Service Analytics with Data Virtualization and VisualizationAccelerate Self-Service Analytics with Data Virtualization and Visualization
Accelerate Self-Service Analytics with Data Virtualization and Visualization
 
Bridging the Gap: Analyzing Data in and Below the Cloud
Bridging the Gap: Analyzing Data in and Below the CloudBridging the Gap: Analyzing Data in and Below the Cloud
Bridging the Gap: Analyzing Data in and Below the Cloud
 
Bluegranite AA Webinar FINAL 28JUN16
Bluegranite AA Webinar FINAL 28JUN16Bluegranite AA Webinar FINAL 28JUN16
Bluegranite AA Webinar FINAL 28JUN16
 
Big Data Analytics
Big Data AnalyticsBig Data Analytics
Big Data Analytics
 
Bigdataanalytics
BigdataanalyticsBigdataanalytics
Bigdataanalytics
 
zData BI & Advanced Analytics Platform + 8 Week Pilot Programs
zData BI & Advanced Analytics Platform + 8 Week Pilot ProgramszData BI & Advanced Analytics Platform + 8 Week Pilot Programs
zData BI & Advanced Analytics Platform + 8 Week Pilot Programs
 
2015 02 12 talend hortonworks webinar challenges to hadoop adoption
2015 02 12 talend hortonworks webinar challenges to hadoop adoption2015 02 12 talend hortonworks webinar challenges to hadoop adoption
2015 02 12 talend hortonworks webinar challenges to hadoop adoption
 
Overview of tools for data analysis and visualisation (2021)
Overview of tools for data analysis and visualisation (2021)Overview of tools for data analysis and visualisation (2021)
Overview of tools for data analysis and visualisation (2021)
 
Big Data Predictive Analytics with Revolution R Enterprise (Gartner BI Summit...
Big Data Predictive Analytics with Revolution R Enterprise (Gartner BI Summit...Big Data Predictive Analytics with Revolution R Enterprise (Gartner BI Summit...
Big Data Predictive Analytics with Revolution R Enterprise (Gartner BI Summit...
 
The Future of Data Science
The Future of Data ScienceThe Future of Data Science
The Future of Data Science
 
Belladati Meetup Singapore Workshop
Belladati Meetup Singapore WorkshopBelladati Meetup Singapore Workshop
Belladati Meetup Singapore Workshop
 
Robert Luong: Analyse prédictive dans Excel
Robert Luong: Analyse prédictive dans ExcelRobert Luong: Analyse prédictive dans Excel
Robert Luong: Analyse prédictive dans Excel
 
Revolution Analytics Podcast
Revolution Analytics PodcastRevolution Analytics Podcast
Revolution Analytics Podcast
 
R and Big Data using Revolution R Enterprise with Hadoop
R and Big Data using Revolution R Enterprise with HadoopR and Big Data using Revolution R Enterprise with Hadoop
R and Big Data using Revolution R Enterprise with Hadoop
 

Último

Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
HyderabadDolls
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
nirzagarg
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
HyderabadDolls
 

Último (20)

Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 
Statistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbersStatistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbers
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
Kings of Saudi Arabia, information about them
Kings of Saudi Arabia, information about themKings of Saudi Arabia, information about them
Kings of Saudi Arabia, information about them
 
20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
 

#rstats lessons for #measure