Closed alne4294 closed 9 years ago
That query represents a single commenter (someone who goes by the name of "author" : "Hasaan5"
). In addition, the subreddit
field ("subreddit" : "runescape"
) says which subreddit this particular comment was posted in.
For challenge 5, you could do many things. One thing you could do is find all the authors of comments in one subreddit and compare that with the authors in another subreddit (using the Jaccard metric, or any other similar metric). You could also look at, for example, how many commenters submit multiple comments to a subreddit and use that to compare different subreddits! The two methods give you different insights, but as long as you understand what the limits of those insights are and what the limitations of them are, they are equally valid.
Oh I see! Thank you for clarifying. For some reason, I didn't quite realize that each document represented a comment.
When I run a findOne() on the reddit collection, I get the following:
For challenge 5, how do we know who or how many commenters there are?