Returns information about a WALS feature. Use this to find the possible values the feature can take.

feature_metadata(id)

Arguments

id

Feature's WALS ID, or a vector of IDs

Value

A dataframe with the following columns:

feature_ID

Feature's WALS ID

feature

Feature's name

value_ID

Value ID

value

Prose description of value

Examples

feature_metadata("13A")
#> feature_ID feature value_ID value code_ID #> 205 13A Tone 1 No tones 13A-1 #> 206 13A Tone 2 Simple tone system 13A-2 #> 207 13A Tone 3 Complex tone system 13A-3
feature_metadata("13A")$value_ID
#> [1] 1 2 3 #> Levels: 1 2 3
feature_metadata(c("13A", "9A", "83A"))
#> feature_ID feature value_ID value #> 205 13A Tone 1 No tones #> 206 13A Tone 2 Simple tone system #> 207 13A Tone 3 Complex tone system #> 1024 83A Order of Object and Verb 1 OV #> 1025 83A Order of Object and Verb 2 VO #> 1026 83A Order of Object and Verb 3 No dominant order #> 1141 9A The Velar Nasal 1 Initial velar nasal #> 1142 9A The Velar Nasal 2 No initial velar nasal #> 1143 9A The Velar Nasal 3 No velar nasal #> code_ID #> 205 13A-1 #> 206 13A-2 #> 207 13A-3 #> 1024 83A-1 #> 1025 83A-2 #> 1026 83A-3 #> 1141 9A-1 #> 1142 9A-2 #> 1143 9A-3