Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

offer statistics about works transcribed #2384

Closed
saracarl opened this issue Feb 17, 2021 · 3 comments · Fixed by #3673
Closed

offer statistics about works transcribed #2384

saracarl opened this issue Feb 17, 2021 · 3 comments · Fixed by #3673
Assignees

Comments

@saracarl
Copy link
Collaborator

It would be great if FtP could offer statistics on the number of works transcribed in addition to statistics on the number of pages transcribed. Granting agencies typically want statistics based on works rather than pages, so statistics on both would be incredibly useful for tracking our progress.

@benwbrum
Copy link
Owner

This is CWRGM top request of the 3 opened.

@benwbrum
Copy link
Owner

This should be a new item on the Statistics tab of the collection, driven from work_statistic.

@benwbrum
Copy link
Owner

benwbrum commented Jun 6, 2023

WorkStatistic has a complete attribute which is a percentage. Displaying the count of works in the collection with complete==100 should work. (Doing this with a query that is performant might be more challenging)

2.7.1 :004 > WorkStatistic.all.to_a.sample(20).map{|w| w.complete}
 => [100, 100, 28, 0, 0, 0, 100, 100, 100, 0, 0, 0, 100, 65, 100, 100, 100, 100, 100, 0] 

benwbrum added a commit that referenced this issue Jun 9, 2023
…rks-transcribed

#2384-Added Transcribed Works Statistics
@benwbrum benwbrum linked a pull request Jun 9, 2023 that will close this issue
@benwbrum benwbrum closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants