powered by
Write station CSV Exports a simulated climate station dataset to a CSV file.
write_station_csv(df, file = "simulated_station_climate.csv")
Returns the file path invisibly.
A dataframe returned by simulate_climate_series().
simulate_climate_series()
The output CSV filename.
stations <- create_stations(n = 3) sim <- simulate_climate_series(stations) tmp <- tempfile(fileext = ".csv") write_station_csv(sim, tmp)
Run the code above in your browser using DataLab