| process_weather_month | R Documentation |
Import and tidy a monthly weather CSV file downloaded from a Taiwan Central Weather Administration station. Column selection is done via regex so minor header changes are handled gracefully.
process_weather_month(file_path, month, year = 2024, zone)
file_path |
Path to the monthly CSV file. |
month |
Month number (1–12) covered by the file. |
year |
Four-digit year. Default 2024. |
zone |
Character label for the weather station / region. |
A data frame with columns day, pressure_hpa,
temp, humidity_percent, wind_ms, rain_mm,
daylight_hr, radiation, date, and zone.
## Not run:
df <- process_weather_month("path/to/2024-01.csv", month = 1, year = 2024,
zone = "site_A")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.