Skip to content

Commit

Permalink
Add skip reason stats
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Jul 30, 2023
1 parent 013e613 commit d199e70
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion sql/stats.prql
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,21 @@ let stats_over_time = (
sort {month}
)

let skip_reason_stats = (
from base
filter skip_reason != ""
group {skip_reason} (
aggregate {
count = count(skip_reason)
}
)
)


relation_to_json(total_stats)
append (relation_to_json extension_stats)
append (relation_to_json binary_extension_stats)
append (relation_to_json skipped_files_stats)
append (relation_to_json stats_over_time)
append (relation_to_json projects_by_files)
append (relation_to_json projects_by_files)
append (relation_to_json skip_reason_stats)

0 comments on commit d199e70

Please sign in to comment.