Difference between pulldata and select_one_from_file

What is deference between
Pulldata and select from file

To learn more on the same, please feel free to have a look at our support article Pull Data Functionality in KoBoToolbox and Select One or Many From External File Question Type.

Similarities:

  • Both these approaches use an external CSV file to load choices.

Differences:

  • The structure in how an xlsform is designed.
  • The structure in how a CSV file is designed.
  • The pulldata function automatically loads the match from the CSV file based on an identifier that you enter, while the select_one_from_file gives you an option to load all the choices afterwords.
  • The pulldata function is more suitable for an integer question or a text question type while the select_one_from_file is more suitable for a select_one or a select_mutliple question type.
  • It’s easier to manage a cascading select question in a select_one_from_file compared to while using a pulldata function.

Maybe the community should be able to add if I have missed any other.

3 Likes

what about (select_one_external ) question ?
is it better ?

You could learn more on select_one_external from this post discussed previously: