Rmarkdown, knitr, Shiny.
I’d second db connections and add RMarkdown. The tooling for generating reports with integrated plots is not as good in python.
— Hadley Wickham (@hadleywickham) February 21, 2019
Totally agree - I'm currently in a Python-heavy environment, and I think if anything tips the scales to including R in our workflow, it'll be RMarkdown.
— Jennifer Thompson (@jent103) February 21, 2019
🙆 a header (metadata)
📝 some text (explain results)
💻 some code (produce results)
Generate your results, plots.
Explain our results and the reasoning behind them.
# This is a header
This is a paragraph. In my younger and more vulnerable years my father gave me
some advice that I've been turning over in my mind ever since.
"Whenever you feel like criticizing any one," he told me, "just remember that all
the people in this world haven’t had the advantages that you’ve had."
## This is a level 2 header
- this is a dotted list
- item 2
- item 3
This is another paragraph. Reserving judgments is a matter of infinite hope.
I am still a little afraid of missing something if I forget that, as my father
snobbishly suggested, and I snobbishly repeat, a sense of the fundamental
decencies is parceled out unequally at birth.
In the rmarkdown file:
{language}
🌻🌞 Check the examples/rmarkdown
folder to see how to style the output 🌞🌻
These slides are made with Rmarkdown and revealjs, you can find the source code here
R code is evaluated:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 1.00 3.25 5.50 5.50 7.75 10.00
You can include maps 🌍.
library(leaflet)
library(tidyverse)
m <- leaflet() %>%
addTiles() %>% # Add default OpenStreetMap map tiles
addMarkers(lng=174.768, lat=-36.852, popup="The birthplace of R")
🍃🍂This example is from the leaflet package.🍁🍀
⬇️ The output is below. ⬇️
source: Rstudio
The @R4DScommunity welcomes you to week 19 of #TidyTuesday! We're exploring Global Student-Teacher ratios!!
— Thomas Mock 👨🏼 💻 (@thomas_mock) May 6, 2019
📁 https://t.co/sElb4fcv3u
🗞 https://t.co/nJqEUDyaNm#r4ds #tidyverse #rstats #dataviz pic.twitter.com/O5PZ7kTDiC