Calculate area weighted values for regions based on station data for the time step i using Thyssen ploygons
1 | thyssen_i(station_data, location, shape, bbox_sf, date_i)
|
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. |
bbox_sf |
bounding box sf object. |
date_i |
Lubridate ymd format date defining the date for which the average values are calculated. |
shape_id |
Polygon attribute that should be used as identifier for value averaging. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.