Read Linguistic Data in the Cross Linguistic Data Format (CLDF)


[Up] [Top]

Documentation for package ‘rcldf’ version 1.6.1

Help Pages

add_dataframe Adds a dataframe.
as.cldf.wide Extracts a CLDF table as a 'wide' dataframe by resolving all foreign key links
cldf Reads a Cross-Linguistic Data Format dataset into an object.
coalesce_truth Coalesce value to truthiness
datasets Returns a table of datasets available in cldf_meta
datatype_to_type Map csvw datatypes to R types
default_dialect CSVW default dialect
default_schema Create a default table schema given a csv file and dialect
get_cache_dir Returns the cache dir.
get_details Returns a dataframe of with details on the CLDF dataset in 'path'.
get_dir_size Returns the filesize in bytes of a directory.
get_filename Get a filename from url value in metadata (handles .zip files)
get_foreign_keys Returns a table of the foreign keys in a CLDF dataset.
get_from_zenodo Downloads and installs a CLDF dataset from a Zenodo endpoint
get_separators Identifies the separator characters specified by the CLDF metadata.
get_tablename Convert a CLDF URL tablename to a short tablename
get_table_from Extracts a single table from a CLDF dataset.
is_github Returns TRUE if 'url' looks like a github URL
is_url Returns TRUE if 'url' looks like a URL
list_cache_files Returns a dataframe of directories in the cache dir
load_clts Returns a CLDF dataset object of the latest CLTS version.
load_concepticon Returns a CLDF dataset object of the latest Concepticon version.
load_dataset Load a CLDF dataset by name and version
load_dplace Returns a CLDF dataset object of the latest D-PLACE version.
load_glottolog Returns a CLDF dataset object of the latest glottolog version.
make_cache_key Returns the cachekey for the given path.
nullify Converts all values specified in the CLDF metadata as 'null' to R's 'NA'.
plot_languages Plot CLDF Languages on an Interactive Map
plot_parameter Plot Distribution of a Specific Parameter
plot_word Plot Words/Forms as Text Labels on a Map
print.cldf Summarises the CLDF file
print.cldf_schema Prints a CLDF schema
read_bib Load and access bibliographic sources from a CLDF dataset
read_cldf Reads a Cross-Linguistic Data Format dataset into an object.
relabel Relabels a column in a dataset for merging.
resolve_path Helper function to resolve the path (e.g. directory or md.json file)
schema Visualize CLDF Dataset Schema
separate Expands all values with separators.
set_cache_dir Sets the cache dir for the current session.
subset_cldf Subset a CLDF object with Cascading Filters
summary.cldf Summarises the CLDF file
update_table Updates a table 'tbl' based on expression 'e'.