# 분석을 위해 모든 게시글을 데이터 내보내기로 내보내고 싶습니다

**URL:** <https://meta.discourse.org/t/i-want-to-data-export-all-the-posts-for-analysis/173689>\
**Category:** Product Support\
**Created:** [12월 18, 2020, 8:23오전 UTC](https://meta.discourse.org/t/i-want-to-data-export-all-the-posts-for-analysis/173689 "2020-12-18T08:23:17Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![JusticeUK](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@JusticeUK](https://meta.discourse.org/u/JusticeUK)\
**Post date:** [1월 21, 2021, 4:10오후 UTC](https://meta.discourse.org/t/i-want-to-data-export-all-the-posts-for-analysis/173689/8 "2021-01-21T16:10:46Z")

</div>

이렇게 하면 PM(개인 메시지)과 삭제된 게시물도 함께 조회되는데, 이는 원치 않는 결과일 가능성이 높습니다.

@401Ott 님, 개인 메시지를 포함하지 않는 모든 게시물을 게시 상태로 조회하고 싶으시다면, 아카이브(archetype)가 'private\_message’인 게시물을 필터링해야 합니다.

또한 삭제된 게시물을 제외하려면 deleted\_at 값이 NULL이 아닌 게시물을 필터링해야 합니다. 다만, 일부 게시물은 소속된 토픽이 삭제되면서 함께 삭제될 수 있으므로, 해당 게시물이 속한 토픽에 deleted\_at 타임스탬프가 있는 경우에도 필터링해야 합니다.

정확한 쿼리가 필요하시다면 구체적으로 무엇을 필요로 하는지 명시해 주시면 작성해 드리겠습니다.

---

_[View the full topic](https://meta.discourse.org/t/i-want-to-data-export-all-the-posts-for-analysis/173689)._
