openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Add Yearly Reading Goals to /stats

Open mekarpeles opened this issue 2 years ago • 8 comments

Describe the problem that you'd like solved

Adding Yearly Reading Goals to /stats

select count(*) from yearly_reading_goals

See: https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/plugins/admin/code.py#L564-L607 https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/plugins/admin/code.py#L465-L489 https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/views/loanstats.py#L129-L135

A function needs to be added to https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/core/bookshelves_events.py to allow for reading_log_counts similar to https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/core/bookshelves.py#L46-L74.

openlibrary org_stats (3)

Proposal & Constraints

Additional context

Stakeholders

mekarpeles avatar Jan 01 '23 18:01 mekarpeles

Do you still need help with this? Could I collaborate on it?

Blueclaus13 avatar Feb 13 '23 23:02 Blueclaus13

Hi, @Blueclaus13. I am just another volunteer, but I can see you have been looking hard for an issue. This one seems pretty self-contained, it hasn't been done yet, and it doesn't appear as if anyone else is working on it. If you haven't selected another issue, this might be a good one to work on.

If you decide to give it a go, just mention it here and even if it's not assigned to you immediately, it's unlikely anyone else will work on it. Please also ask any questions you have and we'll do our best to help.

scottbarnes avatar Feb 15 '23 06:02 scottbarnes

Hey @Blueclaus13 and @scottbarnes. I apologize for jumping in taking a look at this issue without discussing it with you first. Let me know if you'd like to collaborate on it going forward.

SamWilson22 avatar Feb 21 '23 07:02 SamWilson22

I'll keep it in mind, I really need some advice

Obtener Outlook para Androidhttps://aka.ms/AAb9ysg


From: Claudia Madrid @.> Sent: Monday, February 13, 2023 4:15:12 PM To: internetarchive/openlibrary @.> Cc: Subscribed @.***> Subject: Re: [internetarchive/openlibrary] Add Yearly Reading Goals to /stats (Issue #7352)

Do you still need help with this? Could I collaborate on it?

— Reply to this email directly, view it on GitHubhttps://github.com/internetarchive/openlibrary/issues/7352#issuecomment-1428842435, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3KAU4EF5HM57PH4YYAQUKTWXK6ABANCNFSM6AAAAAATOHXJNQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Reykox123 avatar Feb 21 '23 14:02 Reykox123

Don't worry, I hadn't started this issue because I had other assigned.

Blueclaus13 avatar Feb 21 '23 16:02 Blueclaus13

I want to to work on this issue and request to be assigned with this issue

rd713 avatar Mar 27 '23 11:03 rd713

Hey, I am new to the repo but I would like to work on this!

kevinc16 avatar May 11 '24 04:05 kevinc16

Thanks @kevinc16! The links in the original post have been updated as they were out-of-date. Let me know if you have any questions.

jimchamp avatar May 13 '24 16:05 jimchamp