This function restructures glottolog data, and optionally adds/removes data. If you want more flexibility in choosing which data to add/remove, you can use glottoboosterflex().
data from glottolog, can be downloaded with glottoget("glottolog").
space
Return spatial object?
addfamname
Add column with familiy names?
addisolates
Add column to identify isolates?
L1only
Keep only L1 languages (remove bookkeeping, unclassifiable, sign languages, etc.).
addfamsize
Add column with family size?
addfamsizerank
Add column with family size rank?
Value
glottologdata object, either a spatial object (class: sf) or a data.frame.
Details
This function is used to generate 'glottobase' (the reference dataset used throughout the glottospace R package). The default options generate 'glottobase', which can be loaded directly using glottoget("glottobase").