Hello OFT, I am trying to develop a survey that will be used by foresters to estimate timber and firewood based on directive of authority. There is a table containing values that will be used to calculate different aspect of tree analysis. Now I want to use the table (like VLOOKUP in excel) but not figuring out where to put readymade table in the survey. How can I implement this on collect survey?
Accepted answer
Dear user,
You can create a new Species List (named "trees" for example) in the Species List tab of the Survey Designer, importing a CSV or Excel file with these (mandatory) columns: code, family, scientific_name.
All the other columns (use only lowercase letters and avoid special characters, e.g. a, b, c, a_1, a_2, etc) will be considered as "extra" info columns and you can retrieve that information with the expression: idm:speciesListData('trees', 'a_1', 'AFZ/QUA')
The first parameter is the species list name, the 2nd is the "extra" column name, the 3rd one is the code of the species. If you want it to be extracted from the value of a taxon attribute, in the 3rd parameter you can specify the name of the taxon attribute, e.g. idm:speciesListData('trees', 'a_1', taxon_attribute_name).
I hope it is a bit more clear now.
Many thanks.
Open Foris Team
.