However, haven't been able to extract from the new site the url to the data files:
base_url = 'https://sas.anac.gov.br/sas/downloads/view/frmDownload.aspx?tema=14'
h <- try(rvest::read_html(base_url), silent = TRUE)
# filter elements of basic data
elements <- rvest::html_elements(h, "a")
The function
read_airfares()
currently not working because ANAC has changed the url address where the data files are stored.In the recent past, fares data on domestic and international flights were stored in:
The data is now only available other webinterfaces which work with point and click:
However, haven't been able to extract from the new site the url to the data files:
any help here would be much appreciated.