Read Linguistic Data in the Cross Linguistic Data Format (CLDF)
Adds a dataframe.
Extracts a CLDF table as a 'wide' dataframe by resolving all foreign k...
Reads a Cross-Linguistic Data Format dataset into an object.
Coalesce value to truthiness
Map csvw datatypes to R types
CSVW default dialect
Create a default table schema given a csv file and dialect
Returns the cache dir.
Returns a dataframe of with details on the CLDF dataset in path.
Returns the filesize in bytes of a directory.
Get a filename from url value in metadata (handles .zip files)
Downloads and installs a CLDF dataset from a Zenodo endpoint
Identifies the separator characters specified by the CLDF metadata.
Extracts a single table from a CLDF dataset.
Convert a CLDF URL tablename to a short tablename
Returns TRUE if url looks like a github URL
Returns TRUE if url looks like a URL
Returns a dataframe of directories in the cache dir
Returns a CLDF dataset object of the latest CLTS version.
Returns a CLDF dataset object of the latest Concepticon version.
Returns a CLDF dataset object of the latest glottolog version.
Returns the cachekey for the given path.
Converts all values specified in the CLDF metadata as null to R's `N...
Override defaults
Summarises the CLDF file
rcldf: Read Linguistic Data in the Cross Linguistic Data Format (CLDF)
Adds BibTeX source information into a CLDF dataset
Relabels a column in a dataset for merging.
Helper function to resolve the path (e.g. directory or md.json file)
Expands all values with separators.
Sets the cache dir for the current session.
Summarises the CLDF file
Cross-Linguistic Data Format (CLDF) is a framework for storing cross-linguistic data, ensuring compatibility and ease of data exchange between different linguistic datasets see Forkel et al. (2018) <doi:10.1038/sdata.2018.205>. The 'rcldf' package is designed to facilitate the manipulation and analysis of these datasets by simplifying the loading, querying, and visualisation of CLDF datasets making it easier to conduct comparative linguistic analyses, manage language data, and apply statistical methods directly within R.