{"id":10257,"date":"2024-01-02T04:17:17","date_gmt":"2024-01-02T04:17:17","guid":{"rendered":"https:\/\/support.divominer.com\/en\/?post_type=ht_kb&#038;p=10257"},"modified":"2024-01-02T04:17:18","modified_gmt":"2024-01-02T04:17:18","slug":"how-to-use-the-search-function-in-coding-library-to-delete-data-in-batches","status":"publish","type":"ht_kb","link":"https:\/\/support.divominer.com\/en\/knowledge-base\/how-to-use-the-search-function-in-coding-library-to-delete-data-in-batches\/","title":{"rendered":"How to use the search function in [Coding Library] to delete data in batches?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"595\" src=\"https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1-1024x595.png\" alt=\"\" class=\"wp-image-10259\" srcset=\"https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1-1024x595.png 1024w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1-300x174.png 300w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1-768x446.png 768w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1-50x29.png 50w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1-920x534.png 920w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1-600x348.png 600w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1-320x186.png 320w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2023\/12\/1.png 1266w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can clean up the data in [Code Library] and use the filtering function to delete the data in batch.<\/p>\n\n\n\n<p>For example, here is how to delete Facebook posts which mentioned a keyword less than 2 times:<\/p>\n\n\n\n<p>First, use the [Keyword Statistics] function in [Data Exploration] to calculate the number of times a keyword is mentioned, and store the data results to the field [Keyword Statistics]. <a href=\"https:\/\/support.divominer.com\/en\/knowledge-base\/how-to-use-data-exploration-keyword-statistics\/\">Click to see the instructions of the [Keyword Statistics] feature<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"595\" src=\"https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12-1024x595.png\" alt=\"\" class=\"wp-image-10266\" srcset=\"https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12-1024x595.png 1024w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12-300x174.png 300w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12-768x447.png 768w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12-50x29.png 50w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12-920x535.png 920w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12-600x349.png 600w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12-320x186.png 320w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/12.png 1276w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Then click [Filter] under [Quality Monitoring] to filter out data with less than 2 occurrences of the keyword. The procedure is shown in the following image. After filtering, click [Batch Deletion] in the upper right corner.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"459\" src=\"https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-1024x459.png\" alt=\"\" class=\"wp-image-10261\" srcset=\"https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-1024x459.png 1024w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-300x135.png 300w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-768x344.png 768w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-50x22.png 50w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-1536x689.png 1536w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-920x412.png 920w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-600x269.png 600w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11-320x143.png 320w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2024\/01\/11.png 1597w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"author":2,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"ht_kb_category":[5],"ht_kb_tag":[21],"_links":{"self":[{"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/ht_kb\/10257"}],"collection":[{"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/comments?post=10257"}],"version-history":[{"count":4,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/ht_kb\/10257\/revisions"}],"predecessor-version":[{"id":10272,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/ht_kb\/10257\/revisions\/10272"}],"wp:attachment":[{"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/media?parent=10257"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/ht_kb_category?post=10257"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/ht_kb_tag?post=10257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}