Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.6 KB

README.md

File metadata and controls

17 lines (13 loc) · 1.6 KB

glottoshinyR and custom mapping in R

Pacific-centered Glottolog Language Maps
Glottomap

Shiny app: GlottoshinyR

This repository stores the Shiny app https://linguistr.shinyapps.io/glottoshinyR/, such that users who may find the online server host unavailable can still access the app by running it locally in RStudio, accessed from GitHub using the runGithub() function from the {shiny} package:

shiny::runGitHub( "glottoshinyr", "borstell", ref="main")

R code for custom mapping

The repo also contains an R script for users more familiar with R, which can be used to plot similar maps with more customization. For more advanced Glottolog mapping with R, see e.g. the glottospace package.

– Note:

Glottolog and the R libraries used to create this mapping tool are automatically included in a text caption at the bottom of the output plot, but make sure to cite these source accordingly should you use the map for a paper or presentation or similar: Glottolog, ggnewscale, mapproj, maps, randomcoloR, tidyverse and – if you are using the app – shiny.

Happy mapping!