R Ladies Gaborone & Botswana R Users
Extend your CV
Personal projects are evidence of skills developed in confidential projects
Showcase projects you have designed and enjoy
For your own reference
It depends.
Highlight 3-5 projects
Show the process
Share code and outputs
Image: giphy.com
Public git repository (e.g. GitHub)
Website
#TidyTuesday
GitHub: github.com/nrennie/tidytuesday
Twitter: twitter.com/nrennie35
Blog: nrennie.rbind.io/blog
Create a new repository
Fill in project details
Add a README file
File -> New Project
Create project from Version control
Clone a project from a Git repository
Git help: happygitwithr.com
.R file
.Rmd file
.qmd file
Data: github.com/rfordatascience/tidytuesday/blob/master/data/2023/2023-02-07/readme.md
or
or
View the column names:
[1] "stock_symbol" "date" "open" "high" "low"
[6] "close" "adj_close" "volume"
Read the data dictionary: github.com/rfordatascience/tidytuesday/blob/master/data/2023/2023-02-07/readme.md
# A tibble: 6 × 3
stock_symbol year open
<chr> <dbl> <dbl>
1 AAPL 2010 9.28
2 AAPL 2011 13.0
3 AAPL 2012 20.6
4 AAPL 2013 16.9
5 AAPL 2014 23.1
6 AAPL 2015 30.0
g <- ggplot(plot_data,
aes(x = year,
value = open,
node = stock_symbol,
fill = (stock_symbol == "ADBE"))) +
geom_sankey_bump(space = 1,
colour = "transparent",
smooth = 6,
alpha = 0.8) +
scale_fill_manual(
values = c("grey", "#fb0f01")
) +
scale_x_continuous(
breaks = seq(2010, 2022, 2)
) +
theme_minimal()
g
g +
theme(text = element_text(colour = "#546666"),
plot.margin = margin(
10, 10, 10, 20
),
# title and subtitle
plot.title = element_text(
size = 20,
colour = "#2F4F4F"
),
plot.subtitle = element_text(
size = 16,
lineheight = 0.4,
hjust = 0
),
plot.title.position = "plot",
# axes
axis.text.y = element_blank(),
axis.text.x = element_text(
size = 16,
vjust = 2
),
axis.title = element_blank(),
axis.ticks = element_blank(),
# other elements
legend.position = "none",
panel.grid.minor = element_blank(),
panel.grid.major.y= element_blank())
Full code: github.com/nrennie/tidytuesday/tree/main/2023/2023-02-07
Data science portfolios should highlight projects you enjoy
Include textual descriptions of what you did
#TidyTuesday is a beginner-friendly way to get started
@nrennie35 fosstodon.org/@nrennie nrennie