Description Usage Arguments Value Examples
View source: R/weather_to_xml.R
This function aims to convert weather data from data a frmae to XML format.
1 | weather_to_xml(weather_data, file = NULL)
|
weather_data |
a data frame of historical weather data. |
file |
[chr] (default is NULL) if provided as
|
an (invisible) XML document
1 2 3 4 5 6 7 8 9 | library(imthcm)
## Not run:
data(test_weather)
xml_weather <- 'test_weather.xml'
weather_to_xml(test_weather, file = xml_weather)
weather_history <- xml_to_weather(file = xml_weather)
identical(weather_history, test_weather)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.