Description Usage Arguments Value
Calculate area weighted values for regions based on station time series data using Thyssen ploygons
1 | thyssenize(station_data, location, shape, shape_id, dates, cores = NULL)
|
station_data |
Tibble providing the station time series data of a measured variable. The data must be organized in three columns where the first column provides the date, the second a unique station ID, and the third column the variable value. See examples for example table. |
location |
sf object that only holds the corresponding station identifiers and the station location. |
shape |
sf object providing polygons for which the area weighted means should be calculated. |
shape_id |
Polygon attribute that should be used as identifier for value averaging |
dates |
Vector of dates for which weighted averages should be calculated. |
cores |
Parallel computing is implemented to reduce computation time. |
Returns a tibble holding dates, shape_id, and averaged values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.