lingtypology
: Typological databases APIlingtypology
provides an ability to download data from these typological databases
All database function names have identical structure: database_name.feature. All functions have as first argument feature
. All functions create dataframe with column language
that can be used in map.feature()
function. It should be noted that all functions cut out the data that can’t be maped, so if you want to prevent functions from this behaviour set argument na.rm
to FALSE
.
The names of the WALS features can be typed in a lower case. This function preserves coordinates from WALS, so you can map coordinates from the WALS or use coordinates from lingtypology
.
Don't forget to cite a source (modify in case of using individual chapters):
Dryer, Matthew S. & Haspelmath, Martin (eds.) 2013. The World Atlas of Language Structures Online. Leipzig: Max Planck Institute for Evolutionary Anthropology.
(Available online at http://wals.info, Accessed on 2018-10-14.)
@book{wals,
address = {Leipzig},
editor = {Matthew S. Dryer and Martin Haspelmath},
publisher = {Max Planck Institute for Evolutionary Anthropology},
title = {WALS Online},
url = {http://wals.info/},
year = {2013}
}
The AUTOTYP features are listed on the GitHub page. You can use more human way with spaces.
Don't forget to cite a source:
Bickel, Balthasar, Johanna Nichols, Taras Zakharko, Alena Witzlack-Makarevich, Kristine Hildebrandt, Michael Rießler, Lennart Bierkandt, Fernando Zúñiga & John B. Lowe. 2017. The AUTOTYP typological databases. Version 0.1.0 https://github.com/autotyp/autotyp-data/tree/0.1.0
map.feature(df$language,
features = df$NumClass.Presence,
label = df$language,
title = "Presence of Numeral Classifiers")
Warning: There is no coordinates for languages Akkadian, Hittite, West !
Xoon
I used only four features from PHOIBLE: the number of phonemes, the number of consonants, the number of tones and the number of vowels. If you need only a set of them, just specify it in the features
argument. Since there is a lot of doubling information in the PHOIBLE database, there is an argument source
.
Don't forget to cite a source:
Moran, Steven & McCloy, Daniel & Wright, Richard (eds.) 2014. PHOIBLE Online. Leipzig: Max Planck Institute for Evolutionary Anthropology. (Available online at http://phoible.org, Accessed on ...)
A BibTeX entry for LaTeX users is
@book{phoible,
address = {Leipzig},
editor = {Steven Moran and Daniel McCloy and Richard Wright},
publisher = {Max Planck Institute for Evolutionary Anthropology},
title = {PHOIBLE Online},
url = {http://phoible.org/},
year = {2014}
}
Warning: There is no coordinates for languages Dafla, Garrwan, Gelao
The AfBo database has a lot of features that distinguish affix functions, but again you can use a bare function without any arguments to download the whole database. There will be no difference in time, since this function downloads the whole database to your PC. The main destinction is that this database provides recipient and donor languages, so other column names should be used.
Don't forget to cite a source:
Seifart, Frank. 2013. AfBo: A world-wide survey of affix borrowing. Leipzig: Max Planck Institute for Evolutionary Anthropology. (Available online at http://afbo.info, Accessed on ...)
A BibTeX entry for LaTeX users is
@book{afbo,
address = {Leipzig},
editor = {Frank Seifart},
publisher = {Max Planck Institute for Evolutionary Anthropology},
title = {AfBo: A world-wide survey of affix borrowing},
url = {http://afbo.info/},
year = {2013}
}
The SAILS database provide a lot of features, so the function work with their ids:
Don't forget to cite a source (modify in case of using individual chapters):
Muysken, Pieter, Harald HammarstrÖm, Olga Krasnoukhova, Neele MÜller, Joshua Birchall, Simon van de Kerke, Loretta O'Connor, Swintha Danielsen, Rik van Gijn & George Saad. 2016. South American Indigenous Language Structures (SAILS) Online. Leipzig: Online Publication of the Max Planck Institute for Evolutionary Anthropology. (Available at http://sails.clld.org)
The ABVD database is a lexical database, so it is different from clld databases. First of all, ABVD has its own language classification ids. The information about the same language from different sources can be received from these database different ids. So I select several languages and map them coloring by word with the meaning ‘hand’.
Don't forget to cite a source:
Greenhill, S.J., Blust. R, & Gray, R.D. (2008). The Austronesian Basic Vocabulary Database: From Bioinformatics to Lexomics. Evolutionary Bioinformatics, 4:271-283.
uralex.feature
downloads data from UraLex basic vocabulary dataset. Original language names are stored in the language
variable. Converted language names for map.feature
are stored in the language2
variable.
Don't forget to cite a source:
Kaj Syrjänen, Jyri Lehtinen, Outi Vesakoski, Mervi de Heer, Toni Suutari, Michael Dunn, Urho Määttä & Unni-Päivä Leino (2018). UraLex basic vocabulary dataset.
Warning: There is no coordinates for languages Vach-Vasjugan, Voro
(Uralic), Voro (Uralic)