I have a set of raster images which represent a specific month over the years, and I want to make a timeline of the average valuevalues of an area using a shapefile.
How do I extract the values from the rasters and import them in R in a manner that I can use them?