SimonGreenhill / rcldf

rcldf - The R library for reading CLDF files
Other
16 stars 4 forks source link

function get table_fn from json #29

Closed HedvigS closed 1 year ago

HedvigS commented 1 year ago

I have a suggestion for a function, "get_tablename_local_json". All it does is reads the meta-data-json files and finds the filename of the table you want.

HedvigS commented 1 year ago

@SimonGreenhill this function could be over in rgrambank if that's better in any way. i don't know what the scopes are.

SimonGreenhill commented 1 year ago

Implemented as get_table_from e.g. get_table_from('LanguageTable', '/path/to/cldf'). I rewrote this to use the plumbing already in rcldf to make life easier.

HedvigS commented 1 year ago

Thanks!