{"id":13426425,"url":"https://github.com/rstudio/leaflet","last_synced_at":"2025-05-13T17:14:30.445Z","repository":{"id":23149934,"uuid":"26505295","full_name":"rstudio/leaflet","owner":"rstudio","description":"R Interface to Leaflet Maps","archived":false,"fork":false,"pushed_at":"2025-03-04T01:09:09.000Z","size":40064,"stargazers_count":830,"open_issues_count":314,"forks_count":507,"subscribers_count":101,"default_branch":"main","last_synced_at":"2025-04-25T14:47:23.891Z","etag":null,"topics":["gis","leaflet-map","r","spatial"],"latest_commit_sha":null,"homepage":"http://rstudio.github.io/leaflet/","language":"JavaScript","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/rstudio.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.note","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,"zenodo":null}},"created_at":"2014-11-11T21:25:54.000Z","updated_at":"2025-04-14T15:32:24.000Z","dependencies_parsed_at":"2023-01-14T00:30:28.105Z","dependency_job_id":"f2b369c7-8022-4b28-8d2e-06a551d3b0d6","html_url":"https://github.com/rstudio/leaflet","commit_stats":{"total_commits":962,"total_committers":47,"mean_commits":20.46808510638298,"dds":0.7401247401247402,"last_synced_commit":"18f09fd89df0b334b9d57e7566d256cd6a1296bb"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fleaflet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fleaflet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fleaflet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fleaflet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstudio","download_url":"https://codeload.github.com/rstudio/leaflet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990500,"owners_count":21995776,"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":["gis","leaflet-map","r","spatial"],"created_at":"2024-07-31T00:01:34.215Z","updated_at":"2025-05-13T17:14:25.432Z","avatar_url":"https://github.com/rstudio.png","language":"JavaScript","readme":"# An R Interface to Leaflet Maps\n\n\u003c!-- badges: start --\u003e\n[![R build status](https://github.com/rstudio/leaflet/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rstudio/leaflet/actions)\n[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/leaflet)](https://www.r-pkg.org/pkg/leaflet)\n[![](https://www.r-pkg.org/badges/version/leaflet)](https://www.r-pkg.org/pkg/leaflet)\n[![RStudio community](https://img.shields.io/badge/community-leaflet-blue?style=social\u0026logo=rstudio\u0026logoColor=75AADB)](https://forum.posit.co/new-topic?title=\u0026tags=leaflet\u0026body=%0A%0A%0A%20%20--------%0A%20%20%0A%20%20%3Csup%3EReferred%20here%20by%20%60leaflet%60%27s%20GitHub%3C/sup%3E%0A\u0026u=barret)\n\u003c!-- badges: end --\u003e\n\n[Leaflet](https://leafletjs.com) is an open-source JavaScript library for\ninteractive maps. This R package makes it easy to create Leaflet maps from R.\n\n```r\nlibrary(leaflet)\nm = leaflet() %\u003e% addTiles()\nm  # a map with the default OSM tile layer\n\nm = m %\u003e% setView(-93.65, 42.0285, zoom = 17)\nm\n\nm %\u003e% addPopups(-93.65, 42.0285, 'Here is the \u003cb\u003eDepartment of Statistics\u003c/b\u003e, ISU')\n```\n\n## Installation\n\nYou can install this package from CRAN, or the development version from GitHub:\n\n```r\n# CRAN version\ninstall.packages('leaflet')\n\n# Or Github version\nif (!require('devtools')) install.packages('devtools')\ndevtools::install_github('rstudio/leaflet')\n```\n\n## Documentation\n\nIn addition to the usual R package documentation, we also have extensive docs and examples at:\n[https://rstudio.github.io/leaflet/](https://rstudio.github.io/leaflet/)\n\n## Development\n\n`leaflet`'s JavaScript build tools use Node.js, along with [yarn](https://yarnpkg.com/) to manage the JavaScript packages.\n\nInstall `yarn` using the [official instructions](https://classic.yarnpkg.com/en/docs/install).\n\nYou can test that Node.js and yarn are installed properly by running the following commands:\n\n```bash\nnode --version\nyarn --version\n```\n\nTo make additions or modifications to the JavaScript `htmlwidgets` binding layer,\nyou must have all Node.js dependencies installed. Now you can build/minify/lint/test using `yarn build`, or run in \"watch\" mode\nby just running `yarn watch`. JS sources go into `javascript/src` and tests go into\n`javascript/tests`.\n\n```bash\n# install dependencies\nyarn\n\n# compile\nyarn build\n\n# watch\nyarn watch\n```\n\n\n## License\n\nThis package is licensed to you under the terms of the [GNU General Public\nLicense](https://www.gnu.org/licenses/gpl-3.0.html) version 3 or later.\n\nCopyright 2013-2015 RStudio, Inc.\n","funding_links":[],"categories":["JavaScript","Visualization","Spatial Visualization"],"sub_categories":["Maps and Spatial Data","Miscellaneous"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio%2Fleaflet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstudio%2Fleaflet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio%2Fleaflet/lists"}