Steven Moran
Steven Moran
note to self: ``` > phoible %>% filter(grepl("̊", Phoneme)) %>% select(Phoneme, InventoryID, Source) Phoneme InventoryID Source 1 ŋ̊ǀ 1379 gm 2 ŋ̊ǁ 1379 gm 3 ŋ̊ǂ 1379 gm 4 ŋ̊ǃ...
Glottolog 4.0. is out. TODO: - tests if glottocode is valid (note "abcd1234 follows this patters, but so does b10b1234)": https://glottolog.org/glottolog/glottologinformation) - tests if our glottocode is in glottolog -...
We should also dump a new version of CLDF because of the various updates to inventories, etc., since we released the website data in Feb 2019.
Note also the Glottocode reassignments here: https://github.com/defseg/pshrimp-scripts (Latest commit c0b49c1 on Sep 26, 2019)
You and your damn labels.
@DanielSWolf -- indeed. This is a problem that we are aware of (hence the "should"). The problem is also pervasive. ``` library(tidyverse) df % distinct() df % remove_rownames %>% column_to_rownames(var="Phoneme")...
some units tests include: - known number of unique language codes - range of segment counts (11-161) - NAs in various columns, including the feature columns, language codes, etc. (i...
http://kbroman.org/pkg_primer/pages/tests.html for unit tests. it'd be nice to integrate travis as well: https://travis-ci.org/
@drammock do you have a preferred testing framework for R? i see a few different options, like https://github.com/yihui/testit https://github.com/hadley/testthat a quick-and-dirty approach would be to write tests that run on...
We could also ideally include continuous integration