read_csv {splash} | R Documentation |
Read CSV file
Description
Reads all three daily input variables (sf, tair, and pn) for a single year from a CSV file that includes a header.
Usage
read_csv(fname, y = -1)
Arguments
fname |
String, file name. |
y |
Numeric, year. |
Value
List with the following properties:
- $file_name
File name.
- $sf
Sunshine fraction.
- $tair
Air temperature.
- $pn
Precipitation.
- $num_lines
Number of data points.
- $year
Year of data.
[Package splash version 1.0.2 Index]