tidyversedashboard
tidyversedashboard copied to clipboard
Weekly summary
i.e. total number of issues open/closed, downloads, repos with most commits
This is unfortunately hard to do with the GraphQL API as there is AFAIK no equivalent to the since parameter in the v3 api (https://developer.github.com/v3/issues/#list-issues-for-a-repository).
So in order to get the number of closed issues in the last week we would have to do a a query per repo, which we can do of course.
After some more research one way to do this would be, so it will be possible to do with graphQL, although it uses the search API, so could be problematic for other reasons...
{
search(query:"org:tidyverse updated:>=2018-02-23T18:42:18Z sort:updated-asc", type:ISSUE, first:2) {
nodes {
... on Issue {
repository {
nameWithOwner
}
number
closedAt
createdAt
}
}
}
}
Ideally you would be able to filter by issues since a given date, but that it not currently supported, with no real ETA until it is https://platform.github.community/t/performance-search-issues-based-on-the-last-updated-date/5180
Ok we have issues and downloads. We don't have repos with most commits yet