Skip to content

Include current date in GitHub metrics processing#12

Open
kweav wants to merge 4 commits into
mainfrom
kweav-add-date-github
Open

Include current date in GitHub metrics processing#12
kweav wants to merge 4 commits into
mainfrom
kweav-add-date-github

Conversation

@kweav

@kweav kweav commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Because this refresh script is appending old data to new data, I've added current date to GitHub metrics and timecourse data. I've also edited the distinct function so that it will ignore the current date variable (but still write it out).

When I saw that each repo had multiple rows worth of data (for example: https://github.com/ottrproject/metricminer-dashboard/blob/main/metricminer_data/github/github.tsv), it was confusing to me, but adding the date that the data is from will help to clarify that for users.

Because this refresh script is appending old data to new data, I've added current date to GitHub metrics and timecourse data. I've also edited the distinct function so that it will ignore the current date variable (but still write it out).

When I saw that each repo had multiple rows worth of data, it was confusing to me, but adding the date that the data is from will help to clarify that for users.
@github-actions

github-actions Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

OTTR Check Results

Summary

  • Spelling check: ✅ PASSED (0 errors found, threshold: 0)
  • URL check: ✅ PASSED (0 errors found, threshold: 0)

🎉 All checks passed!

Last Updated: 2026-03-26-21:03:05

@github-actions

github-actions Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Re-rendered previews from the latest commit:

* note not all html features will be properly displayed in the "quick preview" but it will give you a rough idea.

Updated at 2026-03-26 with changes from the latest commit bb64a22

Comment thread refresh-scripts/refresh-github.R Outdated
Comment thread refresh-scripts/refresh-github.R Outdated
@kweav

kweav commented Mar 25, 2026

Copy link
Copy Markdown
Contributor Author

Adding an note that when I tested this, since I'm looking for distinct data (ignoring the current date column), it won't write out new data with the current date if old data has the same values

Comment thread refresh-scripts/refresh-github.R Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant