title: What is the best way to fetch all data (posts and their comments) from Reddit?
body: <p>I have a requirement to analyse all the comments about a subreddit, (e.g. r/dogs, say from 2015 onward) using the Python Reddit API Wrapper (PRAW). I'd like the data to be stored in  a JSON.</p>
  <p>I have found a way to get all of the top, new, hot, etc. submissions as a JSON using PRAW:</p>
  <pre><code>new_submissions = reddit.subreddit(&quot;dogs&quot;).new()
  top_submissions = reddit.subreddit(&quot;dogs&quot;).top(&quot;all&quot;)
  </code></pre>
  <p>However, these are only the submissions for the subreddit, and do not include comments. How can I get the comments for these posts as well?</p>