Get the languages that are children of a parent vector

get_child_langs(dataset, query_vector)

Arguments

dataset

character vector of the data set name (e.g., "CA16")

query_vector

character vector of parent vector from which to retrieve child languages (e.g., "v_CA16_815")

Value

a tidy data frame with two columns: 1) parent vector label, and 2) child languages

Examples

if (FALSE) { library(canlang) options(cancensus.api_key = "your_api_key") get_child_langs("CA16", "v_CA16_566") }