-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade WDC connector to support Tableau v2 #1777
Comments
This analysis makes sense to me
Next step sounds like testing that the 2nd option would work, and if so we can commit to it, unless anyone see's a problem w/that |
With the schema: ['_duration',
'_id',
'_id',
'_media_all_received',
'_media_count',
'_notes',
'_review_comment',
'_review_status',
'_submission_time',
'_submitted_by',
'_tags',
'_total_media',
'_uuid',
'_version',
'meta_instanceID',
'sec1_county',
'sec1_hh_num',
'sec1_location',
'sec1_state'] And the row data having ['_attachments',
'_bamboo_dataset_id',
'_duration',
'_edited',
'_geolocation',
'_id',
'_last_edited',
'_media_all_received',
'_media_count',
'_notes',
'_status',
'_submission_time',
'_submitted_by',
'_tags',
'_total_media',
'_uuid',
'_version',
'_xform_id',
'_xform_id_string',
'formhub_uuid',
'meta_deprecatedID',
'meta_instanceID',
'sec1_county',
'sec1_hh_num',
'sec1_location',
'sec1_state'] I understand that this difference is the result of the failure in tableau. If we have more column headers than row headers (if the above was the reverse) would still experience the issue? I still recommend that we use the column headers as defined by the header. We may need to add some additional columns ( I disagree that we should pick columns from the first row of the data as the PR #1686 has done. |
We were able to research on using OSM data to generate the column schema with Davis, we were able to find that not all forms have data generated for them in the OSM model. It was only submissions that had geom data collected here that had generated OSM data. |
I dont believe we would. Previously, we had experimented with defining the column headers using all the fields in the row headers. With this implementation, we were able to create a connection in tableau.
I believe this could be handled by the open-data endpoint. Testing this on stage, by manually including these fields Im not sure if there are other fields required to have this running, testing it with a couple of forms at the moment |
I fail to see how OSM fields have anything to do with issue - not all forms have OSM fields, hence this may not be applicable. |
I am open to review another PR that addresses this issue adequately. The PR #1686 is not the answer. |
Including this here to note the pending issues with the tableau connector are
|
Environmental Information
production, stage, local
Expected behavior
The open-data endpoint should be able to import data to tableau for visualization.
Additional Information
A WDC (Web Data Connector) is a HTML page with JavaScript code that connects to web data (for example, by means of a REST API), converts the data to a JSON format, and passes the data to Tableau.
The current connector was created using WDC version 1.x. This connector does not work with newer versions of tableau.
To support for newer versions of tableau we could
Unfortunately, there might be a need to keep the version 1.x connectors, i.e Not modify the open-data endpoint, if we hope to support earlier versions of Tableau.
I feel this issue could be handled adequately by implementing the 2nd option. Are there any reservations I might have missed. Hoping to get people's thoughts on this
Cc: @ukanga @pld @ivermac @lincmba @DavisRayM
Aha! Link: https://ona.aha.io/features/PROD-172
The text was updated successfully, but these errors were encountered: