{"id":13857831,"url":"https://github.com/cmu-lib/bigosm","last_synced_at":"2025-07-13T22:31:17.935Z","repository":{"id":70737821,"uuid":"174186845","full_name":"cmu-lib/bigosm","owner":"cmu-lib","description":"Read very large OSM exports into osmar","archived":true,"fork":false,"pushed_at":"2019-09-09T18:26:09.000Z","size":657,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-22T15:41:24.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cmu-lib.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-03-06T17:06:01.000Z","updated_at":"2023-01-28T04:07:36.000Z","dependencies_parsed_at":"2023-02-22T22:15:13.633Z","dependency_job_id":null,"html_url":"https://github.com/cmu-lib/bigosm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmu-lib/bigosm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmu-lib%2Fbigosm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmu-lib%2Fbigosm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmu-lib%2Fbigosm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmu-lib%2Fbigosm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmu-lib","download_url":"https://codeload.github.com/cmu-lib/bigosm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmu-lib%2Fbigosm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218209,"owners_count":23729496,"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-08-05T03:01:48.260Z","updated_at":"2025-07-13T22:31:17.412Z","avatar_url":"https://github.com/cmu-lib.png","language":"R","funding_links":[],"categories":["R"],"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 setup, 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# bigosm\n\n[![Travis build status](https://travis-ci.org/cmu-lib/bigosm.svg?branch=master)](https://travis-ci.org/cmu-lib/bigosm)\n[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/cmu-lib/bigosm?branch=master\u0026svg=true)](https://ci.appveyor.com/project/cmu-lib/bigosm)\n[![Coverage status](https://codecov.io/gh/cmu-lib/bigosm/branch/master/graph/badge.svg)](https://codecov.io/github/c/bigosm?branch=master)\n\nbigosm reads in particularly large OSM XML exports (\u003e400MB) that cause [osmar]'s XML reader to choke.\n\n## Installation\n\nYou can install the development version of bigosm from GitHub with:\n\n```{r, eval = FALSE}\n# install.packages(\"devtools\")\ninstall_github(\"cmu-lib/bigosm\")\n```\n\n## Usage\n\n`read_big_osm` does what it says on the label. By specifying required keys for both [Ways] and [Relations] you can pre-filter the XML that ends up getting pulled into R.\n\n```{r, include = FALSE}\nlibrary(bigosm)\nlibrary(osmar)\n```\n\n```{r}\nboston_xml \u003c- system.file(\"extdata/boston.xml.zip\", package = \"bigosm\")\n\nboston_osm \u003c- read_big_osm(file = boston_xml, way_keys = \"highway\")\n\nsummary(boston_osm)\n```\n\n[osmar]: https://cran.r-project.org/package=osmar\n\n[Ways]: https://wiki.openstreetmap.org/wiki/Way\n\n[Relations]: https://wiki.openstreetmap.org/wiki/Relation\n\n## Context\n\nThis package is one of several originally developed by [Matthew Lincoln](https://github.com/mdlincoln) for use by Carnegie Mellon University's [\"Bridges of Pittsburgh\"](http://bridgesofpittsburgh.net/) project:\n\n- [konigsberger] (end-user package)\n  - [pathfinder]\n  - [bigosm]\n  - [simplygraph]\n\n[konigsberger]: https://cmu-lib.github.io/konigsbergr/index.html\n\n[pathfinder]: https://github.com/cmu-lib/pathfinder/\n\n[simplygraph]: https://github.com/cmu-lib/simplygraph\n\n[bigosm]: https://github.com/cmu-lib/bigosm\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmu-lib%2Fbigosm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmu-lib%2Fbigosm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmu-lib%2Fbigosm/lists"}