xml_to_weather: Read an XML weather data

Description Usage Arguments Value Examples

View source: R/xml_to_weather.R

Description

Read an XML weather data

Usage

1

Arguments

file

[chr] path to the XML weather file to import

Value

a data frame of weather data

Examples

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)

UBESP-DCTV/imthcm documentation built on Dec. 2, 2019, 9:26 a.m.