SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
dplyr
romain@r-enthusiasts.com
Romain François
...
$ wc -l R/*.R | tail -n1
3576 total
$ wc -l src/*.cpp | tail -n1
4908 total
$ wc -l **/*.h | tail -n1
8908 total
dis playa
DEEP LIAR
%>%(païpe)
verbe( sujet, complement )
sujet %>% verbe( complement )
enjoy(cool(bake(shape(beat(append(bowl(rep("flour",
2), "yeast", "water", "milk", "oil"), "flour", until
= "soft"), duration = "3mins"), as = "balls", style =
"slightly-flat"), degrees = 200, duration =
"15mins"), duration = "5mins"))
bowl(rep("flour", 2), "yeast", "water", "milk", "oil") %>%
append("flour", until = "soft") %>%

beat(duration = "3mins") %>%

shape(as = "balls", style = "slightly-flat") %>%

bake(degrees = 200, duration = "15mins") %>%

cool(buns, duration = "5mins") %>%
enjoy()
Vocabulary
filter
x y
purple 2
purple 3
red 4
red 5
purple 6
yellow 7
yellow 8
x y
purple 2
purple 3
purple 6
data %>% filter( x == "purple" )
mutate
x y
purple 2
purple 3
red 4
red 5
purple 6
yellow 7
yellow 8
data %>% mutate( y = y*2, z = nchar(x) )
x y z
purple 4 6
purple 6 6
red 8 3
red 10 3
purple 12 6
yellow 14 6
yellow 16 6
select
x y
purple 2
purple 3
red 4
red 5
purple 6
yellow 7
yellow 8
data %>% select( x )
x
purple
purple
red
red
purple
yellow
yellow
arrange
x y
purple 2
purple 3
red 4
red 5
purple 6
yellow 7
yellow 8
data %>% arrange( desc(x) )
x y
yellow 8
yellow 7
purple 6
red 5
red 4
purple 3
purple 2
group_by
x y
purple 2
purple 3
red 4
red 5
purple 6
yellow 7
yellow 8
x y
purple 2
purple 3
purple 6
data %>% group_by( x )
x y
red 4
red 5
x y
yellow 7
yellow 8
summarise
x y
purple 2
purple 3
red 4
red 5
purple 6
yellow 7
yellow 8
summarise( data, z = min(y) )
z
2
group_by + summarise
x y
purple 2
purple 3
red 4
red 5
purple 6
yellow 7
yellow 8
x y
purple 2
purple 3
purple 6
data %>% group_by( x )%>% summarise( z = max(y) )
x y
red 4
red 5
x y
yellow 7
yellow 8
x z
purple 6
red 5
yellow 8
Mise en garde :
comme son nom
l'indique ...
install_github( "romainfrancois/cpasbien" )
library("cpasbien")
movies <- get_all_movies( pages = 1:20 )
episodes <- get_all_episodes( pages = 1:20 )
> glimpse( movies )
Observations: 600
Variables: 11
$ type <chr> "policiers-thrillers", "policiers-thrillers", "policiers-thr...
$ title <chr> "Oppression", "Oppression", "Oppression", "Oppression", "Ret...
$ year <chr> "2016", "2016", "2016", "2016", "2016", "2016", "2016", "201...
$ lang <chr> "french", "french", "french", "french", "french", "french", ...
$ quality <chr> "dvdrip", "dvdrip-x264", "bluray-1080p", "bluray-720p", "dvd...
$ size <dbl> 710, 345, 7885, 4506, 701, 632, 696, 701, 1434, 4710, 1434, ...
$ up <dbl> 2928, 285, 223, 330, 5541, 522, 2329, 8362, 4835, 1157, 261,...
$ down <dbl> 188, 18, 62, 54, 236, 17, 90, 400, 452, 159, 27, 29, 126, 66...
$ torrent <chr> "http://www.cpasbien.cm/telechargement/oppression-french-dvd...
$ poster <chr> "http://www.cpasbien.cm/_pictures/oppression-french-dvdrip-2...
$ href <chr> "http://www.cpasbien.cm/dl-torrent/films/policiers-thrillers...
> glimpse( episodes )
Observations: 569
Variables: 11
$ show <chr> "NCIS New Orleans ", "Hawaii 5-0 (2010) ", "Van Helsing ", "...
$ season <dbl> 2, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 27, 27, 1, 2, 4, 1, 3, 3...
$ episode <dbl> 17, 1, 2, 12, 11, 10, 2, 6, 5, 1, 4, 2, 3, 2, 1, 2, 1, 1, 1,...
$ lang <chr> "french", "vostfr", "vostfr", "french", "french", "french", ...
$ quality <chr> "hdtv", "hdtv", "hdtv", "hdtv", "hdtv", "hdtv", "hdtv", "hdt...
$ size <dbl> 351, 367, 356, 344, 348, 336, 230, 346, 346, 368, 347, 347, ...
$ up <dbl> 131, 204, 717, 1143, 1081, 1222, 235, 700, 658, 295, 648, 38...
$ down <dbl> 22, 20, 45, 144, 132, 154, 14, 49, 61, 20, 48, 18, 4, 5, 32,...
$ torrent <chr> "http://www.cpasbien.cm/telechargement/l-m-n/ncis-new-orlean...
$ poster <chr> "http://www.cpasbien.cm/_pictures/l-m-n/ncis-new-orleans-s02...
$ href <chr> "http://www.cpasbien.cm/dl-torrent/series/l-m-n/ncis-new-orl...
Les comédies les plus
téléchargées en ce moment
en qualité dvdrip
Les comédies les plus
téléchargées en ce moment
en qualité dvdrip
movies %>%
filter(
grepl( "comedies", type ),
quality == "dvdrip"
) %>%
arrange( desc(down) )
Les films d'animation
en meilleure qualité possible
(mais pas dvdscr)
en français
movies %>%
filter(
grepl("animation", type),
lang == "french",
quality != "dvdscr"
) %>%
select(-type, -lang) %>%
group_by(title) %>%
filter(size == max(size))
Le dernier episode disponible de
chaque série en VO
episodes %>%
filter( lang == "vostfr" ) %>%
group_by( show ) %>%
filter( season == max(season) ) %>%
filter( episode == max(episode) ) %>%
arrange(desc(up))
Le dernier episode disponible de
chaque série en VO
episodes %>%
filter( lang == "vostfr" ) %>%
group_by( show ) %>%
filter( season == max(season) ) %>%
filter( episode == max(episode) ) %>%
filter( episode == 1 ) %>%
arrange( desc(up) )
... les séries d'automne ...
Questions ?
romain@r-enthusiasts.com
Demo
library("cpasbien")
library("shiny")
runApp( system.file("app", package = "cpasbien") )
dplyr and torrents from cpasbien

Contenu connexe

Tendances

Frege is a Haskell for the JVM
Frege is a Haskell for the JVMFrege is a Haskell for the JVM
Frege is a Haskell for the JVMjwausle
 
JFugue, Music, and the Future of Java [JavaOne 2016, CON1851]
JFugue, Music, and the Future of Java [JavaOne 2016, CON1851]JFugue, Music, and the Future of Java [JavaOne 2016, CON1851]
JFugue, Music, and the Future of Java [JavaOne 2016, CON1851]David Koelle
 
The Art, Joy, and Power of Creating Musical Programs (JFugue at SXSW Interact...
The Art, Joy, and Power of Creating Musical Programs (JFugue at SXSW Interact...The Art, Joy, and Power of Creating Musical Programs (JFugue at SXSW Interact...
The Art, Joy, and Power of Creating Musical Programs (JFugue at SXSW Interact...David Koelle
 
Programming Lisp Clojure - 2장 : 클로저 둘러보기
Programming Lisp Clojure - 2장 : 클로저 둘러보기Programming Lisp Clojure - 2장 : 클로저 둘러보기
Programming Lisp Clojure - 2장 : 클로저 둘러보기JangHyuk You
 
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of WranglingPLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of WranglingPlotly
 
Vim Hacks (OSSF)
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)Lin Yo-An
 
Communities - Perl edition (RioJS)
Communities - Perl edition (RioJS)Communities - Perl edition (RioJS)
Communities - Perl edition (RioJS)garux
 
Extending Operators in Perl with Operator::Util
Extending Operators in Perl with Operator::UtilExtending Operators in Perl with Operator::Util
Extending Operators in Perl with Operator::UtilNova Patch
 
FrontendLab: Programming UI with FRP and Bacon js - Вячеслав Ворончук
FrontendLab: Programming UI with FRP and Bacon js - Вячеслав ВорончукFrontendLab: Programming UI with FRP and Bacon js - Вячеслав Ворончук
FrontendLab: Programming UI with FRP and Bacon js - Вячеслав ВорончукGeeksLab Odessa
 
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기Suyeol Jeon
 
Damn Fine CoffeeScript
Damn Fine CoffeeScriptDamn Fine CoffeeScript
Damn Fine CoffeeScriptniklal
 
Bloqueador cmd-sh
Bloqueador cmd-shBloqueador cmd-sh
Bloqueador cmd-shmsbertoldi
 
An (Inaccurate) Introduction to Python
An (Inaccurate) Introduction to PythonAn (Inaccurate) Introduction to Python
An (Inaccurate) Introduction to PythonNicholas Tollervey
 
網頁程式還可以怎麼設計
網頁程式還可以怎麼設計網頁程式還可以怎麼設計
網頁程式還可以怎麼設計Kang-min Liu
 
RxSwift 시작하기
RxSwift 시작하기RxSwift 시작하기
RxSwift 시작하기Suyeol Jeon
 
FRP and Bacon.js
FRP and Bacon.jsFRP and Bacon.js
FRP and Bacon.jsStarbuildr
 

Tendances (20)

Frege is a Haskell for the JVM
Frege is a Haskell for the JVMFrege is a Haskell for the JVM
Frege is a Haskell for the JVM
 
JFugue, Music, and the Future of Java [JavaOne 2016, CON1851]
JFugue, Music, and the Future of Java [JavaOne 2016, CON1851]JFugue, Music, and the Future of Java [JavaOne 2016, CON1851]
JFugue, Music, and the Future of Java [JavaOne 2016, CON1851]
 
The Art, Joy, and Power of Creating Musical Programs (JFugue at SXSW Interact...
The Art, Joy, and Power of Creating Musical Programs (JFugue at SXSW Interact...The Art, Joy, and Power of Creating Musical Programs (JFugue at SXSW Interact...
The Art, Joy, and Power of Creating Musical Programs (JFugue at SXSW Interact...
 
Programming Lisp Clojure - 2장 : 클로저 둘러보기
Programming Lisp Clojure - 2장 : 클로저 둘러보기Programming Lisp Clojure - 2장 : 클로저 둘러보기
Programming Lisp Clojure - 2장 : 클로저 둘러보기
 
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of WranglingPLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
PLOTCON NYC: Behind Every Great Plot There's a Great Deal of Wrangling
 
Vim Hacks (OSSF)
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)
 
Shell and perl scripting classes in mumbai
Shell and perl scripting classes in mumbaiShell and perl scripting classes in mumbai
Shell and perl scripting classes in mumbai
 
Ruby 1.9
Ruby 1.9Ruby 1.9
Ruby 1.9
 
Communities - Perl edition (RioJS)
Communities - Perl edition (RioJS)Communities - Perl edition (RioJS)
Communities - Perl edition (RioJS)
 
Extending Operators in Perl with Operator::Util
Extending Operators in Perl with Operator::UtilExtending Operators in Perl with Operator::Util
Extending Operators in Perl with Operator::Util
 
FrontendLab: Programming UI with FRP and Bacon js - Вячеслав Ворончук
FrontendLab: Programming UI with FRP and Bacon js - Вячеслав ВорончукFrontendLab: Programming UI with FRP and Bacon js - Вячеслав Ворончук
FrontendLab: Programming UI with FRP and Bacon js - Вячеслав Ворончук
 
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
 
Damn Fine CoffeeScript
Damn Fine CoffeeScriptDamn Fine CoffeeScript
Damn Fine CoffeeScript
 
Bloqueador cmd-sh
Bloqueador cmd-shBloqueador cmd-sh
Bloqueador cmd-sh
 
Yahoo! JAPANとKotlin
Yahoo! JAPANとKotlinYahoo! JAPANとKotlin
Yahoo! JAPANとKotlin
 
FalcorJS
FalcorJSFalcorJS
FalcorJS
 
An (Inaccurate) Introduction to Python
An (Inaccurate) Introduction to PythonAn (Inaccurate) Introduction to Python
An (Inaccurate) Introduction to Python
 
網頁程式還可以怎麼設計
網頁程式還可以怎麼設計網頁程式還可以怎麼設計
網頁程式還可以怎麼設計
 
RxSwift 시작하기
RxSwift 시작하기RxSwift 시작하기
RxSwift 시작하기
 
FRP and Bacon.js
FRP and Bacon.jsFRP and Bacon.js
FRP and Bacon.js
 

Similaire à dplyr and torrents from cpasbien

Τα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την PythonΤα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την PythonMoses Boudourides
 
Learn 90% of Python in 90 Minutes
Learn 90% of Python in 90 MinutesLearn 90% of Python in 90 Minutes
Learn 90% of Python in 90 MinutesMatt Harrison
 
pa-pe-pi-po-pure Python Text Processing
pa-pe-pi-po-pure Python Text Processingpa-pe-pi-po-pure Python Text Processing
pa-pe-pi-po-pure Python Text ProcessingRodrigo Senra
 
Top 10 php classic traps confoo
Top 10 php classic traps confooTop 10 php classic traps confoo
Top 10 php classic traps confooDamien Seguy
 
Data monsters probablistic data structures
Data monsters probablistic data structuresData monsters probablistic data structures
Data monsters probablistic data structuresGreenM
 
Introdução ao Perl 6
Introdução ao Perl 6Introdução ao Perl 6
Introdução ao Perl 6garux
 
Top 10 pieges php afup limoges
Top 10 pieges php   afup limogesTop 10 pieges php   afup limoges
Top 10 pieges php afup limogesDamien Seguy
 
Hidden treasures of Ruby
Hidden treasures of RubyHidden treasures of Ruby
Hidden treasures of RubyTom Crinson
 
Oceans 2019 tutorial-geophysical-nav_7-updated
Oceans 2019 tutorial-geophysical-nav_7-updatedOceans 2019 tutorial-geophysical-nav_7-updated
Oceans 2019 tutorial-geophysical-nav_7-updatedFrancisco Curado-Teixeira
 
Python for High School Programmers
Python for High School ProgrammersPython for High School Programmers
Python for High School ProgrammersSiva Arunachalam
 
Is Haskell an acceptable Perl?
Is Haskell an acceptable Perl?Is Haskell an acceptable Perl?
Is Haskell an acceptable Perl?osfameron
 
Descobrindo a linguagem Perl
Descobrindo a linguagem PerlDescobrindo a linguagem Perl
Descobrindo a linguagem Perlgarux
 
GE8151 Problem Solving and Python Programming
GE8151 Problem Solving and Python ProgrammingGE8151 Problem Solving and Python Programming
GE8151 Problem Solving and Python ProgrammingMuthu Vinayagam
 
A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009Jordan Baker
 
An Elephant of a Different Colour: Hack
An Elephant of a Different Colour: HackAn Elephant of a Different Colour: Hack
An Elephant of a Different Colour: HackVic Metcalfe
 
Dip Your Toes in the Sea of Security (PHP MiNDS January Meetup 2016)
Dip Your Toes in the Sea of Security (PHP MiNDS January Meetup 2016)Dip Your Toes in the Sea of Security (PHP MiNDS January Meetup 2016)
Dip Your Toes in the Sea of Security (PHP MiNDS January Meetup 2016)James Titcumb
 

Similaire à dplyr and torrents from cpasbien (20)

dplyr
dplyrdplyr
dplyr
 
Τα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την PythonΤα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την Python
 
Python 1
Python 1Python 1
Python 1
 
Learn 90% of Python in 90 Minutes
Learn 90% of Python in 90 MinutesLearn 90% of Python in 90 Minutes
Learn 90% of Python in 90 Minutes
 
pa-pe-pi-po-pure Python Text Processing
pa-pe-pi-po-pure Python Text Processingpa-pe-pi-po-pure Python Text Processing
pa-pe-pi-po-pure Python Text Processing
 
Top 10 php classic traps confoo
Top 10 php classic traps confooTop 10 php classic traps confoo
Top 10 php classic traps confoo
 
Data monsters probablistic data structures
Data monsters probablistic data structuresData monsters probablistic data structures
Data monsters probablistic data structures
 
Introdução ao Perl 6
Introdução ao Perl 6Introdução ao Perl 6
Introdução ao Perl 6
 
Perl 6 by example
Perl 6 by examplePerl 6 by example
Perl 6 by example
 
Top 10 pieges php afup limoges
Top 10 pieges php   afup limogesTop 10 pieges php   afup limoges
Top 10 pieges php afup limoges
 
Hidden treasures of Ruby
Hidden treasures of RubyHidden treasures of Ruby
Hidden treasures of Ruby
 
Oceans 2019 tutorial-geophysical-nav_7-updated
Oceans 2019 tutorial-geophysical-nav_7-updatedOceans 2019 tutorial-geophysical-nav_7-updated
Oceans 2019 tutorial-geophysical-nav_7-updated
 
Python for High School Programmers
Python for High School ProgrammersPython for High School Programmers
Python for High School Programmers
 
Is Haskell an acceptable Perl?
Is Haskell an acceptable Perl?Is Haskell an acceptable Perl?
Is Haskell an acceptable Perl?
 
Descobrindo a linguagem Perl
Descobrindo a linguagem PerlDescobrindo a linguagem Perl
Descobrindo a linguagem Perl
 
GE8151 Problem Solving and Python Programming
GE8151 Problem Solving and Python ProgrammingGE8151 Problem Solving and Python Programming
GE8151 Problem Solving and Python Programming
 
A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009
 
An Elephant of a Different Colour: Hack
An Elephant of a Different Colour: HackAn Elephant of a Different Colour: Hack
An Elephant of a Different Colour: Hack
 
Go &lt;-> Ruby
Go &lt;-> RubyGo &lt;-> Ruby
Go &lt;-> Ruby
 
Dip Your Toes in the Sea of Security (PHP MiNDS January Meetup 2016)
Dip Your Toes in the Sea of Security (PHP MiNDS January Meetup 2016)Dip Your Toes in the Sea of Security (PHP MiNDS January Meetup 2016)
Dip Your Toes in the Sea of Security (PHP MiNDS January Meetup 2016)
 

Plus de Romain Francois (19)

R/C++
R/C++R/C++
R/C++
 
user2015 keynote talk
user2015 keynote talkuser2015 keynote talk
user2015 keynote talk
 
SevillaR meetup: dplyr and magrittr
SevillaR meetup: dplyr and magrittrSevillaR meetup: dplyr and magrittr
SevillaR meetup: dplyr and magrittr
 
Data manipulation with dplyr
Data manipulation with dplyrData manipulation with dplyr
Data manipulation with dplyr
 
R/C++ talk at earl 2014
R/C++ talk at earl 2014R/C++ talk at earl 2014
R/C++ talk at earl 2014
 
Rcpp11 genentech
Rcpp11 genentechRcpp11 genentech
Rcpp11 genentech
 
Rcpp11 useR2014
Rcpp11 useR2014Rcpp11 useR2014
Rcpp11 useR2014
 
Rcpp11
Rcpp11Rcpp11
Rcpp11
 
R and C++
R and C++R and C++
R and C++
 
R and cpp
R and cppR and cpp
R and cpp
 
Rcpp attributes
Rcpp attributesRcpp attributes
Rcpp attributes
 
Rcpp is-ready
Rcpp is-readyRcpp is-ready
Rcpp is-ready
 
Rcpp
RcppRcpp
Rcpp
 
Integrating R with C++: Rcpp, RInside and RProtoBuf
Integrating R with C++: Rcpp, RInside and RProtoBufIntegrating R with C++: Rcpp, RInside and RProtoBuf
Integrating R with C++: Rcpp, RInside and RProtoBuf
 
Object Oriented Design(s) in R
Object Oriented Design(s) in RObject Oriented Design(s) in R
Object Oriented Design(s) in R
 
Rcpp: Seemless R and C++
Rcpp: Seemless R and C++Rcpp: Seemless R and C++
Rcpp: Seemless R and C++
 
RProtoBuf: protocol buffers for R
RProtoBuf: protocol buffers for RRProtoBuf: protocol buffers for R
RProtoBuf: protocol buffers for R
 
Rcpp: Seemless R and C++
Rcpp: Seemless R and C++Rcpp: Seemless R and C++
Rcpp: Seemless R and C++
 
Rcpp: Seemless R and C++
Rcpp: Seemless R and C++Rcpp: Seemless R and C++
Rcpp: Seemless R and C++
 

Dernier

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Dernier (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

dplyr and torrents from cpasbien

  • 2.
  • 3.
  • 4. ... $ wc -l R/*.R | tail -n1 3576 total $ wc -l src/*.cpp | tail -n1 4908 total $ wc -l **/*.h | tail -n1 8908 total
  • 8. verbe( sujet, complement ) sujet %>% verbe( complement )
  • 9.
  • 10. enjoy(cool(bake(shape(beat(append(bowl(rep("flour", 2), "yeast", "water", "milk", "oil"), "flour", until = "soft"), duration = "3mins"), as = "balls", style = "slightly-flat"), degrees = 200, duration = "15mins"), duration = "5mins")) bowl(rep("flour", 2), "yeast", "water", "milk", "oil") %>% append("flour", until = "soft") %>%
 beat(duration = "3mins") %>%
 shape(as = "balls", style = "slightly-flat") %>%
 bake(degrees = 200, duration = "15mins") %>%
 cool(buns, duration = "5mins") %>% enjoy()
  • 12. filter x y purple 2 purple 3 red 4 red 5 purple 6 yellow 7 yellow 8 x y purple 2 purple 3 purple 6 data %>% filter( x == "purple" )
  • 13. mutate x y purple 2 purple 3 red 4 red 5 purple 6 yellow 7 yellow 8 data %>% mutate( y = y*2, z = nchar(x) ) x y z purple 4 6 purple 6 6 red 8 3 red 10 3 purple 12 6 yellow 14 6 yellow 16 6
  • 14. select x y purple 2 purple 3 red 4 red 5 purple 6 yellow 7 yellow 8 data %>% select( x ) x purple purple red red purple yellow yellow
  • 15. arrange x y purple 2 purple 3 red 4 red 5 purple 6 yellow 7 yellow 8 data %>% arrange( desc(x) ) x y yellow 8 yellow 7 purple 6 red 5 red 4 purple 3 purple 2
  • 16. group_by x y purple 2 purple 3 red 4 red 5 purple 6 yellow 7 yellow 8 x y purple 2 purple 3 purple 6 data %>% group_by( x ) x y red 4 red 5 x y yellow 7 yellow 8
  • 17. summarise x y purple 2 purple 3 red 4 red 5 purple 6 yellow 7 yellow 8 summarise( data, z = min(y) ) z 2
  • 18. group_by + summarise x y purple 2 purple 3 red 4 red 5 purple 6 yellow 7 yellow 8 x y purple 2 purple 3 purple 6 data %>% group_by( x )%>% summarise( z = max(y) ) x y red 4 red 5 x y yellow 7 yellow 8 x z purple 6 red 5 yellow 8
  • 19.
  • 20. Mise en garde : comme son nom l'indique ...
  • 21. install_github( "romainfrancois/cpasbien" ) library("cpasbien") movies <- get_all_movies( pages = 1:20 ) episodes <- get_all_episodes( pages = 1:20 )
  • 22. > glimpse( movies ) Observations: 600 Variables: 11 $ type <chr> "policiers-thrillers", "policiers-thrillers", "policiers-thr... $ title <chr> "Oppression", "Oppression", "Oppression", "Oppression", "Ret... $ year <chr> "2016", "2016", "2016", "2016", "2016", "2016", "2016", "201... $ lang <chr> "french", "french", "french", "french", "french", "french", ... $ quality <chr> "dvdrip", "dvdrip-x264", "bluray-1080p", "bluray-720p", "dvd... $ size <dbl> 710, 345, 7885, 4506, 701, 632, 696, 701, 1434, 4710, 1434, ... $ up <dbl> 2928, 285, 223, 330, 5541, 522, 2329, 8362, 4835, 1157, 261,... $ down <dbl> 188, 18, 62, 54, 236, 17, 90, 400, 452, 159, 27, 29, 126, 66... $ torrent <chr> "http://www.cpasbien.cm/telechargement/oppression-french-dvd... $ poster <chr> "http://www.cpasbien.cm/_pictures/oppression-french-dvdrip-2... $ href <chr> "http://www.cpasbien.cm/dl-torrent/films/policiers-thrillers... > glimpse( episodes ) Observations: 569 Variables: 11 $ show <chr> "NCIS New Orleans ", "Hawaii 5-0 (2010) ", "Van Helsing ", "... $ season <dbl> 2, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 27, 27, 1, 2, 4, 1, 3, 3... $ episode <dbl> 17, 1, 2, 12, 11, 10, 2, 6, 5, 1, 4, 2, 3, 2, 1, 2, 1, 1, 1,... $ lang <chr> "french", "vostfr", "vostfr", "french", "french", "french", ... $ quality <chr> "hdtv", "hdtv", "hdtv", "hdtv", "hdtv", "hdtv", "hdtv", "hdt... $ size <dbl> 351, 367, 356, 344, 348, 336, 230, 346, 346, 368, 347, 347, ... $ up <dbl> 131, 204, 717, 1143, 1081, 1222, 235, 700, 658, 295, 648, 38... $ down <dbl> 22, 20, 45, 144, 132, 154, 14, 49, 61, 20, 48, 18, 4, 5, 32,... $ torrent <chr> "http://www.cpasbien.cm/telechargement/l-m-n/ncis-new-orlean... $ poster <chr> "http://www.cpasbien.cm/_pictures/l-m-n/ncis-new-orleans-s02... $ href <chr> "http://www.cpasbien.cm/dl-torrent/series/l-m-n/ncis-new-orl...
  • 23. Les comédies les plus téléchargées en ce moment en qualité dvdrip
  • 24. Les comédies les plus téléchargées en ce moment en qualité dvdrip movies %>% filter( grepl( "comedies", type ), quality == "dvdrip" ) %>% arrange( desc(down) )
  • 25. Les films d'animation en meilleure qualité possible (mais pas dvdscr) en français
  • 26. movies %>% filter( grepl("animation", type), lang == "french", quality != "dvdscr" ) %>% select(-type, -lang) %>% group_by(title) %>% filter(size == max(size))
  • 27. Le dernier episode disponible de chaque série en VO
  • 28. episodes %>% filter( lang == "vostfr" ) %>% group_by( show ) %>% filter( season == max(season) ) %>% filter( episode == max(episode) ) %>% arrange(desc(up)) Le dernier episode disponible de chaque série en VO
  • 29. episodes %>% filter( lang == "vostfr" ) %>% group_by( show ) %>% filter( season == max(season) ) %>% filter( episode == max(episode) ) %>% filter( episode == 1 ) %>% arrange( desc(up) ) ... les séries d'automne ...