-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
Create Label Report in Google Spreadsheet #5810
Comments
This comment was marked as resolved.
This comment was marked as resolved.
@kimberlytanyh This information should either be available in a repository, or in 1password, or a combination of both.
|
This comment was marked as resolved.
This comment was marked as resolved.
We will discuss with Sophia the best way to make Jupiter Notebook available without revealing secrets. |
Hello @ExperimentsInHonesty, I just took a look at the issue again and made some edits. Both editable Jupyter notebooks and .env files have been added to the live-dashboard-automation repository and changes have been made accordingly to this issue. My contact information has been removed. |
|
Dependency
Overview
We need to create a data set with newly added and deleted labels, so that we can add them to a dashboard.
Detail
In a recent meeting, we noticed that there were instances when volunteers would add their own labels or delete official labels from the website team repository (accidentally or without permission). We want to catch these early to prevent any resulting problems.
When this issue is completed, there will be a spreadsheet (as the source of truth) that will show labels that have not yet been reviewed and it will release the dependency on creating the dashboard for a report that product will use to fix labels.
Preparing to work on this issue
You will need to be added to the following resources:
Action Items
Part 1: Creating a new dataset with labels
Part 2: Using the API to compare data sets, each with labels
We'll now repurpose the API call above to be used to detect new labels added or labels deleted from the website repository in the future (your code, once perfected, is to be added to the .py script currently in use for the dashboard in the live-dashboard-automation repository)
ready for prioritization
labelResources/Instructions
Editable version of Python script that handles cleaning and sending of data to Resource 5.I's "Unreviewed Newly Added or Deleted Labels" sheet (tab) (for testing)
Template for .env file to go with Resource 1 (You need to get your own GitHub token - See Resource 6 - and add it to a .env file along with other credentials to run Resource 1)(Note: You can directly add the credentials in Resource 1 but it would be inconvenient when you want to share your work later without revealing your confidential information)
Using Google API to Send and Read Data to Google Sheets: Update Google Sheets Using A Service Account With Google Sheets API In Python, How to Analyze Data in Google Sheets With Python: A Step-By-Step Guide
Repository controlling automation of script run to update Looker dashboard
Google Drive folder: Dashboard to put any additional resources created
Slides with instructions on how to create GitHub token (see Appendix)
Looker dashboard being worked on
Refer to issue Create Project Board Looker Dashboard for Different Roles #4921 for information on Looker dashboard involved
How to use .env file: Just add the .env file to the same folder where your Jupyter Notebook is to use it.
The text was updated successfully, but these errors were encountered: