I am trying to extract an XML file from Air Canada's website that contains weather data from their radar system. The URL that contains the XML file is here
I am stuck right at the start, where I thought it would be as simple as reading in to the URL using the xmlParse function from the XML package.
library(XML)
url = "https://www.aircanada.com/content/dam/aircanada/portal/data/weather/AirCanada.xml"
xmlParse(url)
However, I get the following error:
Error: XML content does not seem to be XML
It is clearly an XML file, so I am not sure why I am getting this error. Any help/direction would be much appreciated.