{"id":14063116,"url":"https://github.com/gigwork/mapping","last_synced_at":"2025-07-29T14:32:14.626Z","repository":{"id":124979338,"uuid":"337860617","full_name":"gigwork/mapping","owner":"gigwork","description":"Mapping gig work","archived":false,"fork":false,"pushed_at":"2021-09-06T21:48:17.000Z","size":1,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-04T00:32:41.056Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gigwork.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2021-02-10T21:37:48.000Z","updated_at":"2021-09-06T21:48:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e828a76-1961-452e-841b-46ee89055e7b","html_url":"https://github.com/gigwork/mapping","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gigwork/mapping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gigwork%2Fmapping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gigwork%2Fmapping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gigwork%2Fmapping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gigwork%2Fmapping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gigwork","download_url":"https://codeload.github.com/gigwork/mapping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gigwork%2Fmapping/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267703057,"owners_count":24130463,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-13T07:03:04.159Z","updated_at":"2025-07-29T14:32:14.344Z","avatar_url":"https://github.com/gigwork.png","language":null,"funding_links":[],"categories":["Others"],"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)\n```\n\n# mapping\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nThe goal of this article is to demonstrate how to visualise animated traces in an interactive map with R.\n\nYou can set-up a basic animated map with `mapdeck` as follows:\n\n```{r, eval=FALSE}\nlibrary(mapdeck)\nlibrary(sf)\nmapdeck(\nlocation = c(145, -37.8)\n, zoom = 10\n, style = mapdeck_style(\"dark\")\n, token = Sys.getenv(\"MAPBOX\")\n) %\u003e%\n add_trips(\n   data = sf\n   , animation_speed = 2000\n   , trail_length = 1000\n   , stroke_colour = \"#FFFFFF\"\n)\n\n```\n\n![](https://user-images.githubusercontent.com/1825120/132259993-c4f39ac4-801c-4a38-8d8d-98fb05772d58.gif)\n\n```{r}\nf_gpx = \"../gigwork.github.io/data/01._Adnan_aka_Adeeb/01._.gpx_file/strava_4658971578.g\"\ntrace =\n```\n\nThere is also a way to do it with the `rdeck` package but this package is not mature or well documented at present.\n\n```{r}\nremotes::install_github(\"anthonynorth/rdeck\")\nlibrary(rdeck)\n?rdeck::trips_layer\n```\n\n\u003c!-- With plotly much is possible. --\u003e\n\u003c!-- Let's start with a simple GPS plot: --\u003e\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgigwork%2Fmapping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgigwork%2Fmapping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgigwork%2Fmapping/lists"}