Skip to contents

Opens the MobilityData validation report for a feed or dataset in your default web browser. The report shows detailed validation results from the canonical GTFS validator.

Note: This function does not support GBFS validation reports at this time as GBFS validation reports are located at a different endpoint and have a different validation criteria.

Usage

view_validation_report(data, format = "html")

Arguments

data

One of:

  • A single-row tibble from mobdb_datasets() or mobdb_search()

  • A character string feed_id (e.g., "mdb-482")

  • A character string dataset_id (e.g., "mdb-482-202511010126")

format

Character. Report format: "html" (default) or "json".

Value

Invisibly returns the URL that was opened.

See also

get_validation_report() to extract validation data as a tibble, filter_by_validation() to filter by quality thresholds, mobdb_datasets() to get dataset information with validation reports

Examples

if (FALSE) { # \dontrun{
# View validation report for Alexandria DASH
view_validation_report("mdb-482")

# View report from dataset results
datasets <- mobdb_datasets("mdb-482")
view_validation_report(datasets)

# View JSON report instead
view_validation_report("mdb-482", format = "json")
} # }