Hi,
When is try to export the Kobo Collect Data through API it includes the group name in the header instead of only the name of the field as it gives when we download the data from Kobo Login. What is the reason behind this or how can i export the API data in excel format with only question label as header not the group name in it.
The problem is not when we doiwnload it from the Kobo Login it is absolutely fine but when we try to access the API “https://kc.kobotoolbox.org/api/v1/data” and download the csv or cls it includes the group name in the header.
Hi
By default group names form part of the downloaded data and I have not seen a documented way of removing the group names from them when pulling data using API. Let hope other users can add into this if they have done it
Stephane
How can we get the data with labels and without group name through API because when we use the API it downloads the xls format with group name and with code. I just wanted to know how can we use the API end point to get the data with labels and without group name.
I have just logged a suggestion in the suggestion box - feel free to comment /vote if it would help you!
Has anyone found a working solution?
If you prefer to export the API data in an Excel format with only the question label as the header, you may need to process the exported data using a data manipulation tool or script. You can write a script or use tools like Microsoft Excel or Google Sheets to extract the question label from the exported data and rearrange it as per your desired format.
Hi @angelinasavchuk The Synchronous Exports functionality has the ability to omit groups - doesn’t have all the same functionality as the API does, but nonetheless useful workaround in some circumstances!
Indeed, it does work out for what I need to do, thanks a lot!
You probable know: If you export directly to Excel there is an (advanced) option to cut off all group names.