From 6b5ce0ee3eb38baee88bc5bacc75aecc01d5d460 Mon Sep 17 00:00:00 2001 From: Naisha Date: Wed, 31 Jul 2024 01:02:32 -0700 Subject: [PATCH] run reports workflow individually --- .github/workflows/fetch.yml | 2 +- data/2024Q3/1-fetch/gcs_fetched.csv | 2 -- data/2024Q3/README.md | 30 ----------------------------- scripts/3-report/gcs_reports.py | 2 +- 4 files changed, 2 insertions(+), 34 deletions(-) diff --git a/.github/workflows/fetch.yml b/.github/workflows/fetch.yml index 9436e97..4d13bfe 100644 --- a/.github/workflows/fetch.yml +++ b/.github/workflows/fetch.yml @@ -1,7 +1,7 @@ name: Fetch Data on: - push: + # push: schedule: # 1:15am onwards, days 1-20, first month of each quarter - cron: '15 1,5,9,13,17,21,23 1-20 1,4,7,10 *' diff --git a/data/2024Q3/1-fetch/gcs_fetched.csv b/data/2024Q3/1-fetch/gcs_fetched.csv index 971cd21..df660fc 100644 --- a/data/2024Q3/1-fetch/gcs_fetched.csv +++ b/data/2024Q3/1-fetch/gcs_fetched.csv @@ -16,5 +16,3 @@ https://creativecommons.org/licenses/by-nc-sa/3.0,35800000,29800000,18000,5760,1 https://creativecommons.org/licenses/sa/1.0,120000000,101000000,23500,16600,167000,56500,24400,116000000,247000,314000,29100,120000000,213000 https://creativecommons.org/licenses/sa/1.0,120000000,101000000,23500,16600,167000,56500,24400,116000000,247000,314000,29100,120000000,213000 https://creativecommons.org/licenses/by-nc-sa/2.0,20400000,13800000,21400,3730,65000,21700,9270,19100000,92600,773000,4470,20400000,5740 -https://creativecommons.org/licenses/nc-sa/1.0,0,0,0,0,0,0,0,0,0,0,0,0,0 -https://creativecommons.org/licenses/by-nc-nd/2.0,0,0,0,0,0,0,0,0,0,0,0,0,0 diff --git a/data/2024Q3/README.md b/data/2024Q3/README.md index 4148529..e69de29 100644 --- a/data/2024Q3/README.md +++ b/data/2024Q3/README.md @@ -1,30 +0,0 @@ - -# 2024Q3 Quantifying the Commons - -## Data Source: Google Custom Search - - -### Country Report -![Number of Google Webpages Licensed by Country](3-report/gcs_country_report.png) -Number of Google Webpages Licensed by Country - -### License Type Report -![Number of Webpages Licensed by License Type](3-report/gcs_licensetype_report.png) -Number of Webpages Licensed by License Type - -### Language Report -![Number of Google Webpages Licensed by Language](3-report/gcs_language_report.png) -Number of Google Webpages Licensed by Language - -### Country Report -![Number of Google Webpages Licensed by Country](3-report/gcs_country_report.png) -Number of Google Webpages Licensed by Country - -### License Type Report -![Number of Webpages Licensed by License Type](3-report/gcs_licensetype_report.png) -Number of Webpages Licensed by License Type - -### Language Report -![Number of Google Webpages Licensed by Language](3-report/gcs_language_report.png) -Number of Google Webpages Licensed by Language - diff --git a/scripts/3-report/gcs_reports.py b/scripts/3-report/gcs_reports.py index 2092524..9f554b6 100755 --- a/scripts/3-report/gcs_reports.py +++ b/scripts/3-report/gcs_reports.py @@ -358,7 +358,7 @@ def main(): try: # Add and commit changes - shared.add_and_commit(PATHS["repo"], "Fetched and updated new data") + shared.add_and_commit(PATHS["repo"], "Added and committed new reports") except shared.GitOperationError as e: LOGGER.error(f"Add and commit failed: {e}") sys.exit(e.exit_code)