Get Autobahn lorry parking details
Arguments
- lorry_id
Lorry parking identifier.
- flatten
Logical; if
TRUE, simplify nested list columns according toflatten_mode. DefaultFALSEkeeps list columns as-is.- flatten_mode
How to handle list columns when
flatten = TRUE:"drop"Remove list columns entirely. Use when nested data is not needed.
"json"Convert each list element to a JSON string. Preserves all data in a text-queryable format. This is the default.
"unnest"Expand list columns into multiple rows via
tidyr::unnest_longer(). Warning: this can significantly increase the number of rows.
Value
A one-row tibble for the selected lorry-parking entry with the same
columns as autobahn_parking_lorries(). road_id is typically NA for
detail calls.
Details
Returns full details for a single lorry parking entry. API documentation: https://autobahn.api.bund.dev.
See also
autobahn_parking_lorries() to list parking areas.
Other Autobahn:
autobahn_charging_station_details(),
autobahn_charging_stations(),
autobahn_closure_details(),
autobahn_closures(),
autobahn_parking_lorries(),
autobahn_roads(),
autobahn_roadwork_details(),
autobahn_roadworks(),
autobahn_warning_details(),
autobahn_warnings(),
autobahn_webcam_details(),
autobahn_webcams()
Examples
if (FALSE) { # \dontrun{
roads <- autobahn_roads()
parking <- autobahn_parking_lorries(roads$road_id[[1]])
autobahn_parking_lorry_details(parking$identifier[[1]])
} # }