I want to Data Export all the posts for analysis

Does anyone have this query to share? Also is there a way to do an export of the raw text of each post published?

Thanks!