handle_agromet_chile | R Documentation |
This function convert a previously downloaded weather file into a dataframe in the
chillR
format. For now,
the function only works with hourly records. The downloading part must be done directly by the
user through accessing the
agromet website Once there, the user needs to select the weather station,
the variables requested, the time-step and the period of interest. Finally, the data must be downloaded in
Excel or CSV format.
handle_agromet_chile(inputfile, vars = c("Temp", "Humidity"))
inputfile |
Character string or dataframe. This is the complete path to the weather file containing the data. It must include the extension (".xls") of the file. The function also supports a dataframe |
vars |
Character string. Vector of one or more variables that are requested from the original weather file. Default is set to "Temp" and "Humidity" since for now, the function only works for hourly records. Available options depend on the variables specified by the user while downloading from the website. Possible inputs are "Temp", "Humidity", "Prec_accum", "Solar_radiation", "Wind_speed", "Pressure_ATM", "Surface_Temp", "Soil_Temp", "Wind_direction" |
handle_agromet_chile(inputfile = agromet_weather_data, vars = c("Temp", "Humidity"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.