{"id":23673199,"url":"https://github.com/flrd/autobahn","last_synced_at":"2025-12-21T00:30:18.816Z","repository":{"id":230978645,"uuid":"777740963","full_name":"flrd/autobahn","owner":"flrd","description":"An R client for Autobahn App API, https://autobahn.api.bund.dev/","archived":false,"fork":false,"pushed_at":"2024-04-03T20:48:29.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-03T21:49:18.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flrd.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-26T12:27:51.000Z","updated_at":"2024-04-15T10:01:19.521Z","dependencies_parsed_at":"2024-04-01T23:23:26.094Z","dependency_job_id":"c0e70ce9-818e-416e-b9b5-77a654a97f47","html_url":"https://github.com/flrd/autobahn","commit_stats":null,"previous_names":["flrd/autobahn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flrd%2Fautobahn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flrd%2Fautobahn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flrd%2Fautobahn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flrd%2Fautobahn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flrd","download_url":"https://codeload.github.com/flrd/autobahn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239699582,"owners_count":19682575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-29T11:51:40.558Z","updated_at":"2025-12-21T00:30:18.716Z","avatar_url":"https://github.com/flrd.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# autobahn \u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"138\" alt=\"\" /\u003e\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nThe `autobahn` package provides an R interface to the \n[Autobahn App API](https://autobahn.api.bund.dev/). \n\n## Installation\n\nYou can install the development version of `autobahn` from [GitHub](https://github.com/) with:\n\n``` {r install_github, eval=FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"flrd/autobahn\")\n```\n\n## What will you get\n`autobahn` provides bindings to fetch data from the Autobahn App API, see the\n[API documentation on their Swagger UI](https://autobahn.api.bund.dev/) for \nmore information. \n\nThe nomenclature of the functions follows the names of the resource identifiers \n(URI) of the endpoints:\n\n- `autobahn_roadworks()`\n- `autobahn_parking_lorry()`\n- `autobahn_warning()`\n- `autobahn_closure()`\n- `autobahn_electric_charging_station()`\n\nThe one exception to this rule is the function `autobahnen()` which calls\nhttps://verkehr.autobahn.de/o/autobahn/ and returns all autobahns in Germany, see\nExamples section below.\n\n\n### Examples\n\nGet a list of all Autobahnen in Germany:\n\n```{r autobahnen, eval=TRUE}\nlibrary(autobahn)\nautobahnen() |\u003e head()\n```\n\nGet a list of all electric charging stations on autobahn \"A9\":\n\n```{r A9_as_is, eval=TRUE}\nA9 \u003c- autobahn_electric_charging_station(roadId = \"A9\")\nA9[[1]]\n```\n\nEach of the `autobahn_*` functions has two arguments:\n\n1. `roadId`\n2. `return`\n\nThe first is the identifier of a autobahn, the second argument can take one of\ntwo values: `\"as-is\"`, and `\"simplified\"`. Default is `\"as-is\"` and the data\nis returned -- well -- as is. If you choose the option `\"simplified\"` then the\ndata is returned in a way that shall make it easier for you to work with it.\n\n```{r A9_simple, eval=TRUE}\nA9_simple \u003c- autobahn_electric_charging_station(roadId = \"A9\", return = \"simplified\")\nA9_simple[[1]]\n```\n## Code of Conduct\n\nPlease note that this project is released with a [Contributor Code of Conduct](https://github.com/flrd/autobahn/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflrd%2Fautobahn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflrd%2Fautobahn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflrd%2Fautobahn/lists"}