What is lingtypology?

The lingtypology package connects R with the Glottolog database (v. 4.8) and provides an additional functionality for linguistic typology. The Glottolog database contains a catalogue of the world’s languages. This package helps researchers to make linguistic maps, using the philosophy of the Cross-Linguistic Linked Data project, which is creating a uniform access to linguistic data across publications. This package is based on the leaflet package, so lingtypology is a package for interactive linguistic mapping. In addition, the package provides an ability to download data from typological databases such as WALS, AUTOTYP and others (see section 4). The functionality of this package intersects with

  • lingtypology in Python by Michael Voronov;
  • glottospace – R package for the geospatial analysis based on Glottolog by Sietze Norder et al;
  • lingtypr – R package which partially intersects with lingtypology functionality by Laura Becker;
  • glottoTrees – R package for visualising and modifing glottolog trees by Erich Round

I would like to thank Natalya Tyshkevich, Samira Verhees and Eugenya Klyagina for reading and correcting some versions of this vignette.

1. Installation

Since lingtypology is an R package, you should install R (version >= 3.1.0) on your PC if you haven’t already done so. To install the lingtypology package, run the following command at your R IDE, so you get the stable version from CRAN:

install.packages("lingtypology", dependencies = TRUE)

You can also get the development version from GitHub:

install.packages("remotes")
remotes::install_github("ropensci/lingtypology")

Load the package:

library(lingtypology)
## Based on the Glottolog v. 5.0

2. Citing lingtyplogy

It is important to cite R and R packages when you use them. For this purpose use the citation function:

citation("lingtypology")
## To cite package 'lingtypology' in publications use:
## 
##   Moroz G (2017). _lingtypology: easy mapping for Linguistic Typology_.
##   <https://CRAN.R-project.org/package=lingtypology>.
## 
## A BibTeX entry for LaTeX users is
## 
##   @Manual{,
##     title = {lingtypology: easy mapping for Linguistic Typology},
##     author = {George Moroz},
##     year = {2017},
##     url = {https://CRAN.R-project.org/package=lingtypology},
##   }




© G. Moroz code on GitHub