leaflet

R Interface to Leaflet Maps

https://github.com/rstudio/leaflet

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 42 committers (7.1%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.6%) to scientific vocabulary

Keywords

gis leaflet-map r spatial

Keywords from Contributors

geos shiny rmarkdown book web-app interactive pandoc documentation-tool visualisation literate-programming
Last synced: 6 months ago · JSON representation

Repository

R Interface to Leaflet Maps

Basic Info
Statistics
  • Stars: 835
  • Watchers: 101
  • Forks: 504
  • Open Issues: 317
  • Releases: 12
Topics
gis leaflet-map r spatial
Created over 11 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License

README.md

An R Interface to Leaflet Maps

R build status CRAN RStudio mirror downloads RStudio community <!-- badges: end -->

Leaflet is an open-source JavaScript library for interactive maps. This R package makes it easy to create Leaflet maps from R.

```r library(leaflet) m = leaflet() %>% addTiles() m # a map with the default OSM tile layer

m = m %>% setView(-93.65, 42.0285, zoom = 17) m

m %>% addPopups(-93.65, 42.0285, 'Here is the Department of Statistics, ISU') ```

Installation

You can install this package from CRAN, or the development version from GitHub:

```r

CRAN version

install.packages('leaflet')

Or Github version

if (!require('devtools')) install.packages('devtools') devtools::install_github('rstudio/leaflet') ```

Documentation

In addition to the usual R package documentation, we also have extensive docs and examples at: https://rstudio.github.io/leaflet/

Development

leaflet's JavaScript build tools use Node.js, along with yarn to manage the JavaScript packages.

Install yarn using the official instructions.

You can test that Node.js and yarn are installed properly by running the following commands:

bash node --version yarn --version

To make additions or modifications to the JavaScript htmlwidgets binding layer, you must have all Node.js dependencies installed. Now you can build/minify/lint/test using yarn build, or run in "watch" mode by just running yarn watch. JS sources go into javascript/src and tests go into javascript/tests.

```bash

install dependencies

yarn

compile

yarn build

watch

yarn watch ```

License

This package is licensed to you under the terms of the GNU General Public License version 3 or later.

Copyright 2013-2015 RStudio, Inc.

Owner

  • Name: RStudio
  • Login: rstudio
  • Kind: organization
  • Email: info@rstudio.org
  • Location: Boston, MA

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 15
  • Watch event: 33
  • Delete event: 1
  • Issue comment event: 36
  • Push event: 14
  • Pull request review event: 11
  • Pull request review comment event: 29
  • Pull request event: 8
  • Fork event: 4
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 15
  • Watch event: 33
  • Delete event: 1
  • Issue comment event: 36
  • Push event: 14
  • Pull request review event: 11
  • Pull request review comment event: 29
  • Pull request event: 8
  • Fork event: 4

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 982
  • Total Committers: 42
  • Avg Commits per committer: 23.381
  • Development Distribution Score (DDS): 0.651
Past Year
  • Commits: 8
  • Committers: 3
  • Avg Commits per committer: 2.667
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
Joe Cheng j****e@r****m 343
Yihui Xie x****e@y****e 250
Barret Schloerke s****e@g****m 118
Bhaskar Karambelkar b****r@k****o 66
timelyportfolio k****l@t****m 50
leslie-huang l****g@n****u 17
Bhaskar Karambelkar b****r@t****m 16
hadley h****m@g****m 15
Bhaskar Karambelkar b****k@g****m 14
Garrick Aden-Buie g****k@a****m 12
Winston Chang w****n@s****g 12
Carson Sievert c****1@g****m 9
olivroy 5****y 7
dependabot[bot] 4****] 6
Jack Davison 4****n 5
rhijmans r****s@g****m 5
Matthew Plourde p****m@g****m 4
tim-salabim t****s@g****m 4
pvictor p****r@g****m 3
william3031 w****5@g****m 3
Kent Johnson k****7@g****m 2
trestletech j****n@t****t 1
TJ McKinley t****4@c****k 1
mtennekes m****s@g****m 1
imprompt m****m@v****m 1
aoles a****s@g****m 1
Zhian N. Kamvar z****r@g****m 1
ToriOblad 1****d 1
Rich Pauloo r****o@g****m 1
Pablo Bernabeu p****u@g****m 1
and 12 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 159
  • Total pull requests: 76
  • Average time to close issues: 3 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 126
  • Total pull request authors: 23
  • Average comments per issue: 2.77
  • Average comments per pull request: 2.21
  • Merged pull requests: 51
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 18
  • Pull requests: 16
  • Average time to close issues: 18 days
  • Average time to close pull requests: 1 day
  • Issue authors: 14
  • Pull request authors: 6
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.75
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • gadenbuie (7)
  • aloboa (5)
  • daattali (4)
  • jack-davison (4)
  • antoine4ucsd (4)
  • mtennekes (3)
  • jzadra (3)
  • jcheng5 (2)
  • amegbor (2)
  • warnes (2)
  • vanhry (2)
  • mkoohafkan (2)
  • jebyrnes (2)
  • olyerickson (2)
  • brendanhoganvt (2)
Pull Request Authors
  • olivroy (15)
  • gadenbuie (12)
  • jack-davison (10)
  • cpsievert (7)
  • jcheng5 (6)
  • schloerke (5)
  • arkcorn (4)
  • rhijmans (2)
  • dmurdoch (1)
  • jaredlander (1)
  • joshualerickson (1)
  • eduardszoecs (1)
  • mneilson (1)
  • cderv (1)
  • edwindj (1)
Top Labels
Issue Labels
priority: high (1) v2.1 release (1) type: bug (1) ready (1) help wanted (1) priority: medium (1) effort: low (1) difficulty: intermediate (1)
Pull Request Labels
v2.1 release (2)

Packages

  • Total packages: 3
  • Total downloads:
    • cran 71,889 last-month
  • Total docker downloads: 1,205,230
  • Total dependent packages: 209
    (may contain duplicates)
  • Total dependent repositories: 698
    (may contain duplicates)
  • Total versions: 37
  • Total maintainers: 1
cran.r-project.org: leaflet

Create Interactive Web Maps with the JavaScript 'Leaflet' Library

  • Versions: 15
  • Dependent Packages: 195
  • Dependent Repositories: 694
  • Downloads: 71,889 Last month
  • Docker Downloads: 1,205,230
Rankings
Forks count: 0.1%
Stargazers count: 0.4%
Dependent repos count: 0.5%
Dependent packages count: 0.6%
Downloads: 1.4%
Average: 3.4%
Docker downloads count: 17.3%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/rstudio/leaflet
  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.5%
Dependent repos count: 5.7%
Last synced: 6 months ago
conda-forge.org: r-leaflet
  • Versions: 8
  • Dependent Packages: 14
  • Dependent Repositories: 4
Rankings
Dependent packages count: 4.5%
Forks count: 7.4%
Average: 10.6%
Stargazers count: 14.4%
Dependent repos count: 16.0%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.1.0 depends
  • RColorBrewer * imports
  • crosstalk * imports
  • htmltools * imports
  • htmlwidgets >= 1.5.4 imports
  • jquerylib * imports
  • leaflet.providers >= 1.8.0 imports
  • magrittr * imports
  • methods * imports
  • png * imports
  • raster * imports
  • scales >= 1.0.0 imports
  • sp * imports
  • stats * imports
  • viridis >= 0.5.1 imports
  • xfun * imports
  • R6 * suggests
  • RJSONIO * suggests
  • knitr * suggests
  • maps * suggests
  • purrr * suggests
  • rgdal * suggests
  • rgeos * suggests
  • s2 * suggests
  • sf >= 0.9 suggests
  • shiny * suggests
  • terra * suggests
  • testthat >= 3.0.0 suggests
docs/libs/leaflet-markercluster/package.json npm
  • jake ~0.5.16 development
  • jshint ~2.1.3 development
  • karma ~0.8.5 development
  • leaflet ~1.0.3 development
  • magic-string ^0.7.0 development
  • mocha ~1.10.0 development
  • uglify-js ~2.6.0 development
docs/libs/leaflet-omnivore/package.json npm
  • browserify 13.0.1 development
  • jshint 2.9.2 development
  • mapbox.js 2.4.0 development
  • mocha ~2.5.3 development
  • phantomjs-prebuilt 2.1.7 development
  • st 1.2.2 development
  • tape 4.5.1 development
  • uglify-js ^2.6.2 development
  • zuul ~3.10.1 development
  • brfs 1.4.3
  • corslite 0.0.7
  • csv2geojson ~5.0.0
  • polyline 0.2.0
  • togeojson 0.13.0
  • topojson 1.6.26
  • wellknown 0.4.2
inst/htmlwidgets/lib/leaflet-omnivore/package.json npm
  • browserify 13.0.1 development
  • jshint 2.9.2 development
  • mapbox.js 2.4.0 development
  • mocha ~2.5.3 development
  • phantomjs-prebuilt 2.1.7 development
  • st 1.2.2 development
  • tape 4.5.1 development
  • uglify-js ^2.6.2 development
  • zuul ~3.10.1 development
  • brfs 1.4.3
  • corslite 0.0.7
  • csv2geojson ~5.0.0
  • polyline 0.2.0
  • togeojson 0.13.0
  • topojson 1.6.26
  • wellknown 0.4.2
inst/htmlwidgets/plugins/Leaflet.markercluster/package.json npm
  • jake ~0.5.16 development
  • jshint ~2.1.3 development
  • karma ~0.8.5 development
  • leaflet ~1.0.3 development
  • magic-string ^0.7.0 development
  • mocha ~1.10.0 development
  • uglify-js ~2.6.0 development
package.json npm
  • @babel/core ^7.11.4 development
  • @babel/preset-env ^7.11.0 development
  • babel-plugin-transform-es2015-modules-commonjs ^6.14.0 development
  • babel-register ^6.14.0 development
  • babelify ^10.0.0 development
  • browserify ^17.0.0 development
  • eslint >=7.7.0 development
  • grunt ^1.3.0 development
  • grunt-babel ^8.0.0 development
  • grunt-browserify ^6.0.0 development
  • grunt-cli ^1.2.0 development
  • grunt-contrib-watch ^1.0.0 development
  • grunt-eslint ^23.0.0 development
  • grunt-mocha-test ^0.13.3 development
  • mocha ^9.1.2 development
  • source-map-support ^0.5.19 development
yarn.lock npm
  • 582 dependencies