open-demographics
open-demographics copied to clipboard
Questions with multi-part answers (e.g: language and fluency)
The suggested question structure for Languages suggests that the respondent be able to pick an arbitrary language, and then select a fluency level for that language.
It's a bit tricky to figure out how to implement this in a machine readable format like a JSON file, but here is my suggestion - two sets of choices, one a free entry field, or perhaps populated from a standardized list of languages as a drop down, and a companion field for fluency. This should be fillable multiple times (logic which would have to be implemented by the developers consuming the JSON).
"category-language": {
"id": "language",
"short-description": "The person's languages.",
"long-description": "The respondent's languages and fluency levels.",
"questions": {
"languages": {
"type": "double-select",
"self-identify": "false",
"prefer-not-to-answer": "false",
"does-not-apply": "false",
"prompt": "Choose the language(s) you are conversant in and identify your proficiency",
"choices": {
"language-known": [
{
"id": "language",
"value": "language",
"label": "Language:"
}
],
"fluency": [
{
"id": "elementary-basic",
"value": "elementary-basic",
"label": "Elementary Proficiency / Basic"
},
{
"id": "limited-working",
"value": "limited-working",
"label": "Limited Working Proficiency / Conversational"
},
{
"id": "professional-working",
"value": "professional-working",
"label": "Professional Working Proficiency / Business"
},
{
"id": "full-fluent",
"value": "full-fluent",
"label": "Full Professional Proficiency / Fluent"
}
]
}
}
}
This looks good to me, but there will need to be a way to allow folks to enter indigenous languages. Thinking about this globally - there are thousands of languages and dialects that people speak that are part of their identity and which they may want to be counted.