Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Import: GoogleSheetsFetcher for importing batches of sheets and folders #2515
Who is this PR for?
developers, automating sync process for sheets and form responses
What problem does this PR fix?
Sometimes it's simpler for educators to collect and manage data in ways that are very specific to their context (eg, one sheet or tab for each teacher is common). When doing this across many teachers, grades or schools, there's no great way to automate importing these.
For batch uploads, we could push this work to educators and have them reformat into a standard format. But for data that we want to sync while collection is ongoing, or recurring data collection rhythms, this doesn't work as well.
For specific uses, we can add app scripts that respond to events and push data to Student Insights as it's entered or updated. This requires owning the document and another permissions step for educators.
What does this PR do?
Adds a class that uses a Google service account to allow automating this import, and setting the synchronization on the pull side. This lets educators share folders or sheets like normal, and then everything else can be automated on our end.
The first use cases are historical reading data in Somerville and transition data in Bedford. This may also be useful in the fall for self-serve imports as well (eg, service caseloads, ad hoc student voice surveys).
Which features or pages does this PR touch?
Does this PR use tests to help verify we can deploy these changes quickly and confidently?