Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/data-processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,22 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'

- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install tenzing R dependencies
run: Rscript -e 'install.packages(c("rmarkdown","ggplot2", "readxl", "dplyr", "googlesheets4", "stringr", "gridExtra", "glue", "tidygraph", "ggraph", "igraph"))'

- name: Run Tenzing analysis
continue-on-error: true # Continue even if this step fails
run: |
Rscript -e "rmarkdown::render('scripts/contributor-analysis/contributor_analysis.rmd', output_format = 'md_document')"

- name: Move Tenzing analysis
continue-on-error: true # Continue even if this step fails
run: |
mv scripts/contributor-analysis/contributor_analysis.md content/contributor-analysis/_index.md
mv scripts/contributor-analysis/*.png content/contributor-analysis/

- name: Install Python dependencies
run: python3 -m pip install -r ./requirements.txt

Expand Down Expand Up @@ -69,7 +85,7 @@ jobs:
run: python3 scripts/gs-cite/google_scholar.py
env:
SERPAPI: ${{ secrets.SERPAPI }}

- name: Upload data artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -78,4 +94,5 @@ jobs:
content/contributors/tenzing.md
content/curated_resources/
data/ # GA data
content/contributor-analysis/
retention-days: 1
16 changes: 16 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,22 @@ jobs:
python scripts/download_ga_data.py
fi

# Contributor analysis if needed
- uses: r-lib/actions/setup-r@v2
if: steps.download-artifact.outcome == 'failure'
- uses: r-lib/actions/setup-pandoc@v2
if: steps.download-artifact.outcome == 'failure'
- name: Contributor analysis if needed
if: steps.download-artifact.outcome == 'failure'
continue-on-error: true
run: |
Rscript -e 'install.packages(c("rmarkdown", "ggplot2", "readxl", "dplyr", "googlesheets4", "stringr", "gridExtra", "glue", "tidygraph", "ggraph", "igraph"))'
Rscript -e "rmarkdown::render('scripts/tenzing_analysis/contributor_analysis.rmd', output_format = 'md_document')"
mv scripts/tenzing_analysis/contributor_analysis.md content/contributor-analysis/_index.md
mv scripts/tenzing_analysis/*.png content/contributor-analysis/



- name: Setup Hugo
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f
with:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions content/contributor-analysis/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "FORRT Contributor Analyses"
date: "12 April, 2025"
type: plain_page
output:
md_document:
preserve_yaml: true
---

Currently, FORRT has 82 completed and ongoing projects with a total of
651 contributors across these projects.
There is an average (mean) of 2.06 contributions per person across all
FORRT projects, and the average number of contributors per project is
16.00. Team CRediT is actively working on formalizing and updating
contributorship information.

![](Projects-Plot-Figure-1.png)

![](Role-Plot-Figure-1.png)

![](unnamed-chunk-1-1.png)

![](unnamed-chunk-2-1.png)

![](unnamed-chunk-3-1.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions scripts/contributor-analysis/contributor_analysis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "FORRT Contributor Analyses"
date: "12 April, 2025"
type: plain_page
output:
md_document:
preserve_yaml: true
---

Currently, FORRT has 82 completed and ongoing projects with a total of
651 contributors across these projects.
There is an average (mean) of 2.06 contributions per person across all
FORRT projects, and the average number of contributors per project is
16.00. Team CRediT is actively working on formalizing and updating
contributorship information.

![](Projects-Plot-Figure-1.png)

![](Role-Plot-Figure-1.png)

![](unnamed-chunk-1-1.png)

![](unnamed-chunk-2-1.png)

![](unnamed-chunk-3-1.png)
Loading
Loading