cypherNEAR - 9. Developer Activity - 1-commit developers over time
    Updated 2023-10-16
    with commits as (select
    author,
    count(*) as n_commits
    from near.beta.github_activity
    where author not in ('dependabot', 'dependabot-preview')
    group by author),

    one_commits as (select * from commits
    where n_commits = 1)

    select
    date_trunc('month', createdat) as date,
    count(*) as n_one_commiters
    from near.beta.github_activity
    where author in (select author from one_commits)
    group by date

    Run a query to Download Data