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

Rephrasing needed for second exercise on aggregation #60

Closed
danmichaelo opened this issue Sep 15, 2017 · 5 comments
Closed

Rephrasing needed for second exercise on aggregation #60

danmichaelo opened this issue Sep 15, 2017 · 5 comments

Comments

@danmichaelo
Copy link
Contributor

@danmichaelo danmichaelo commented Sep 15, 2017 •

Had a question today about this exercise: "How many citations that were counted each month a) in total; b) per journal"

"How many citations that were counted each month" can be interpreted as "How many citations were made each month". We don't have any citation time data in the dataset, only article publication time, so that question would be impossible to answer with the data we have, but I still think we should try to rephrase it to make it more clear.

I struggle a little bit to come up with a good way of phrasing it though. Could be because the question is a bit artificial. Perhaps something like "the number of citations per (publication) month; a) ..."? Not sure if that is easy to understand. Help needed :)

@icecjan
Copy link
Collaborator

@icecjan icecjan commented Nov 21, 2017

I don't think the question is artificial but agree it needs rephrasing. The problem may be that we tried to combine two things into 1 a) and b)? What do you think about the below?

Write queries that return:

1. The number of citations counted in each month.
2. The number of citations counted of each journal in each month.
3. Average number of citations of each journal in each month.
4. Can you modify the above queries combining them into one?

@danmichaelo
Copy link
Contributor Author

@danmichaelo danmichaelo commented Nov 22, 2017

Hm, I still find "number of citations counted in each month" ambiguous. I mean, we're not counting the number of citations per month, but the number of citations per publication month of the cited article. Agree?

Is it too cumbersome to write something like that? Or do you think it's not necessary since there is only one way to count using the data available?

@icecjan
Copy link
Collaborator

@icecjan icecjan commented Nov 25, 2017

Ok, I can't see how else we can write this challenge though. Any thoughts @elainewong ?

@icecjan
Copy link
Collaborator

@icecjan icecjan commented Nov 25, 2017

Alright, I have another thought. Instead of using month, we could use LicenceId?

Before introducing the challenge, we use "how many articles were published in each journal?" to demonstrate GROUP BY. If we build on that, the challenge could be:

Write queries that return:
1. How many articles were published under each licence a.) in total, b). per journal.
2. Average citation counts of each journal under each licence.
3. Can you modify the above queries combining them into one?

This is still not ideal, but should eliminate the question about counting citations by publication month?

@danmichaelo
Copy link
Contributor Author

@danmichaelo danmichaelo commented Nov 25, 2017

Good idea! These are also more interesting questions – looks very close to ideal to me 👍

icecjan added a commit that referenced this issue Dec 3, 2017
Issue #60 - rewritten GROUP BY challenges so they ask more meaningful questions.
@icecjan icecjan closed this Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants