Skip to content

Conversation

@buildwithdemis
Copy link

This script processes an Excel file and shortens the values in Column B (field) by trimming dot-separated strings. This is necessary because when attempting to use CommCare Export to load the data into a SQL database, errors were encountered due to column names exceeding the PostgreSQL limit of 63 characters. The long field names in Column B were the root cause, and this script shorten to conform to the allowed length.

This script reads an Excel file and modifies the values in Column B(field) by shortening dot-separated strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant