Ada Lovelace was a pioneer of computer programming.
Read more about here
This repository is designed for use by The Movement Cooperative's member organizations. This is a place where TMC staff can share helpful code generated by TMC staff or other TMC members.
This repository is fully public. We want to take steps to obscure any sensitive information in the code - this may mean obscuring specific vendor names or including more bracketed variables. We may often link to further description in TMC's Member Library, which is a protected space.
We recommend members copy this file into their own Github repository.
There are two key functions in this script:
logger()
: This is simply a standard logger TMC often leveragessetup_environment():
Given our commonly used naming conventions of Civis Platform parameters, this will automatically pull in the necessary credentials for the Parson's GoogleBigQuery Class. You must include the two required parameters in the BigQuery Template Script below.
Members can clone this template script.
It includes two required parameters for using TMC's BigQuery:
- GOOGLE APPLICATION CREDENTIALS: Each member has their own in the dropdown formatted as
{member_code} GCP Service Account JSON
- GOOGLE CLOUD STORAGE BUCKET: Members will need to write in their own formatted as
bkt-tmc-mem-{member_code}-scratch