combine_weather_month: combine_weather_month

View source: R/hobo_do.R

combine_weather_monthR Documentation

combine_weather_month

Description

Batch-import monthly weather CSV files from a Taiwan Central Weather Administration station for a consecutive range of months.

Usage

combine_weather_month(file_path, start_month, end_month, year = 2024, zone)

Arguments

file_path

Path prefix (directory + filename prefix before the date portion, e.g. "data/weather/").

start_month

First month to import (1–9; two-digit months not yet supported).

end_month

Last month to import.

year

Four-digit year. Default 2024.

zone

Character label for the weather station / region.

Details

File names are expected to follow the pattern <file_path><year>-0<month>.csv (e.g. 2024-01.csv).

Value

A combined data frame produced by process_weather_month.

Examples

## Not run: 
df <- combine_weather_month("data/weather/", start_month = 1,
                            end_month = 6, year = 2024, zone = "site_A")

## End(Not run)

aelab documentation built on Feb. 23, 2026, 5:07 p.m.