spod_get_latest_v1_file_list: Get latest file list from the XML for MITMA open mobility...

View source: R/available-data.R

spod_get_latest_v1_file_listR Documentation

Get latest file list from the XML for MITMA open mobility data v1 (2020-2021)

Description

Get latest file list from the XML for MITMA open mobility data v1 (2020-2021)

Usage

spod_get_latest_v1_file_list(
  data_dir = spod_get_data_dir(),
  xml_url = "https://opendata-movilidad.mitma.es/RSS.xml"
)

Arguments

data_dir

The directory where the data is stored. Defaults to the value returned by spod_get_data_dir().

xml_url

The URL of the XML file to download. Defaults to "https://opendata-movilidad.mitma.es/RSS.xml".

Value

The path to the downloaded XML file.


spanishoddata documentation built on April 12, 2025, 1:24 a.m.