This code is the Cloud Function which gets triggered when a Credit Card transaction file gets loaded to the Cloud Storage bucket.
The code then parses the data and loads the transactions into the BigQuery table
The code is part of the credit card analysis dashboard system that also uses Data Studio to build the dashboard
https://amitpend.medium.com/personal-finance-credit-card-analysis-dashboard-using-gcp-fc2c2dc3b96c