How to export multiple plot from one data frame ?

I have a csv format data which contains date , admin level and some values columns.


Is it possible to generate time series plot for each admin level and save it my folder ? using loop or iterate function or something like that.
Thanks

yes its possible.
use readr package to load your csv to R.
study r4ds https://r4ds.had.co.nz/ chapter 3 to understand how to visualise with ggplot2/tidyverse.
I don't know what an 'admin level' , but if its a factor in your data,it might be as easy as throwing in a facet
however, if you need true iteration, you can studty chapter 21 to understand your options.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.