You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
As per conversation on the forums, it looks like we're replacing allegedly unsafe characters, including: *, :, -, and _ in column names when publishing to Google Spreadsheets.
We should try to understand why this is being currently done and whether we need to continue doing it or not.
The text was updated successfully, but these errors were encountered:
@ggalmazor Where in the code is this done? Maybe git blame would help figure this out. If not, I'm hoping this is an easy thing for you to test. Not a big priority though...
I see a Dylan Price on the git blame. Does that ring a bell?
This came in 4c8abfc: "Fixed GoogleSpreadsheet trouble with special characters in headers and added parent-uid to repeat spreadsheets."
Diff: 4c8abfc?diff=unified&w=1
Yeah, I know Dylan, but I think it's too much work to track him down. We should just try underscores and special characters and update the code accordingly.
Apologies for the delayed response. Old history from memory, not sure what is in the code now and haven't looked.
Column headings were originally the variable names in the xform (similar to how database columns operate). A feature request that got added was to change to the question vs the variable names in the spreadsheet.
Back to dashes and underscores ... 8-9 years ago Google spreadsheets did not support either dashes or underscores (can't remember which way it was) being in the column name and to make things complicated Google fusion tables did not accept the other, so we converted the dashes to underscores and underscores to dashes depending on which service we were exporting to based on the naming requirements of the Google service.
Statements in this comment are from memory recollection and have not been verified.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As per conversation on the forums, it looks like we're replacing allegedly unsafe characters, including:
*
,:
,-
, and_
in column names when publishing to Google Spreadsheets.We should try to understand why this is being currently done and whether we need to continue doing it or not.
The text was updated successfully, but these errors were encountered: