Open EhrmannS opened 2 years ago
I see the point here. I think it would make sense to assign read_ontology
and write_ontology
to the native rds
format. And use import
and export
for non-native formats such as RDF. I also think it would make sense to rename the export_as_rdf
function to export_as_skos
, as it is more precise. But export_as_rdf
is more obvious, maybe; I'm not sure. Future releases of the package could have an import_from_skos
function.
Since we now have a function to
load_ontology
and one toexport_as_rdf
, whether it would make sense to harmonise this further into aread_ontology
andwrite_ontology
function. Currently, the load function is only able to read from rds and there is no specific "write" function, albeit the export function obviously does this, it can't write to rds itself... What do you think, @rue-a?