
Create a Polar Plot Map for a Selected Variable
polar_map.RdGenerates an interactive polar plot map using `openairmaps::polarMap()` for a variable contained in a `mm` object. The function extracts the appropriate time, wind speed, wind direction, and precipitation fields from `mm$dt` based on metadata stored in `mm$dt_meta`, merges site information, and produces a leaflet-based polar map.
Arguments
- mm
A list-like object containing at least: * `dt`: a `data.table` with measurement data. * `dt_meta`: a `data.table` describing variable types and names. * `dt_site`: a `data.table` with site metadata including `lat`, `lon`, and `site`.
- var_name
A character string giving the name of the variable column in `mm$dt` to be mapped.