For future reference, this is a common example of use of Date types in R that should improve the plotting ggplotnim capabilities. I believe this is perhaps more suited to be managed in a separate data management module.
Where dates are arbitrarily entered, but one would usually want to print this out standardised as year, typical R code would use as.Date() and look like the following:
read.csv("finances.csv") %>%
ggplot(aes( x = as.Date(date), y = yrate)) +
geom_line()+
geom_point()
It is not handling negative values correctly and the dates are not standardised by year. This is currently not possible and not supported. This example is just for future testing.
Hi Vindaar,
First thank you for this excellent module.
For future reference, this is a common example of use of Date types in R that should improve the plotting ggplotnim capabilities. I believe this is perhaps more suited to be managed in a separate data management module.
So, for the data set:
https://gist.github.com/lf-araujo/5da7266c44b3824b824d578411dee73c
Where dates are arbitrarily entered, but one would usually want to print this out standardised as year, typical R code would use as.Date() and look like the following:
Resulting in:
However, current ggplotnim code would look like:
and
finances.png
looks rather confusing:It is not handling negative values correctly and the dates are not standardised by year. This is currently not possible and not supported. This example is just for future testing.