-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import: GoogleSheetsFetcher for importing batches of sheets and folders #2515
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds minimal commits on top of #2442, after testing for the production setup. @edavidsonsawyer did all the real work here :)
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).
Checklists
Which features or pages does this PR touch?
(none)
Does this PR use tests to help verify we can deploy these changes quickly and confidently?