powered by
With glottosimplify, the structure of a glottodata object is simplified by removing tables and properties
glottosimplify( glottodata, droplist = TRUE, dropmeta = TRUE, dropspatial = TRUE, submerge = TRUE, dropunits = FALSE )
glottodata or glottosubdata.
By default, if only one sheet is loaded, the data will be returned as a data.frame (instead of placing the data inside a list of length 1)
By default all metadata is removed.
By default spatial properties are removed.
By default, glottosubdata tables are merged into a single glottodata table.
By default units are kept.
a simplified version of the original dataset, either a data.frame/tibble or a list (depending on the selected options)
# NOT RUN { glottodata <- glottoget("demodata", meta = TRUE) glottosimplify(glottodata) # }
Run the code above in your browser using DataLab