I'm using the code below for the daily weather:
library(ggplot2)
options(repr.plot.width=16, repr.plot.height=9)
ggplot(df,aes(x = Date, y = MADRID)) +
geom_line(group = 1, color='lightblue')+
scale_y_continuous(limits = c(5,30), breaks = seq(5,30,5)) +
ggtitle ("Daily average temperature - MADRID") +
xlab("Date") + ylab ("Average Temperature ( ºC )")
And getting such a graph:
My question, how to get labels with years having daily data on the x axis?