# Clean up your data

Secoda has built-in tools designed to streamline the process of data cleanup, enhancing the overall health of your data environment. This guide will explore how you can leverage these tools to improve data quality, enhance security, reduce storage costs, and boost productivity.

{% hint style="info" %}
Make sure you check the [lineage graph](https://docs.secoda.co/features/data-lineage) in Secoda before deprecating a resource in the source!
{% endhint %}

## Key benefits of effective data cleanup

* **Efficient Resource Management:** Quickly identify underutilized data, reducing time spent on manual checks.
* **Enhanced Data Quality and Security:** Improve the accuracy and protectiveness of your data assets.
* **Increased Analyst Productivity:** Ensure analysts have access to relevant and reliable data.
* **Cost Reduction:** Decrease expenses associated with storing outdated or unused data.

## Features for cleaning up your data

### Access [popularity](https://docs.secoda.co/features/popularity "mention") metadata

* Utilize the Popularity metadata to determine which data resources are least accessed.
* Sorting the Catalog by Popularity helps identify candidates for deprecation based on minimal views or queries.

### [automations](https://docs.secoda.co/features/automations "mention") to identify stale assets

* Set up Automations to tag resources that haven’t been accessed or updated within a specific timeframe as "Stale" or "Candidates for Deprecation."
* Consider adding a property to the Automation to push these to a private Team or specific Collection, if that's helpful for review purposes.
* Then, filter the Catalog by these tags to manage these resources efficiently!

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/06c2902f-50e1-419e-bb37-158f82568367.png" alt="" width="375"><figcaption></figcaption></figure>

### [monitoring-use-cases](https://docs.secoda.co/features/monitoring/monitoring-use-cases "mention")

* Implement Cardinality or Unique Percentage Monitors on essential data resources.
* Alerts from these monitors can indicate duplicates or other data quality issues, prompting cleanup actions.

{% hint style="info" %}
[Secoda’s API](https://github.com/secoda/gitbook/blob/master/best-practices/broken-reference/README.md) extends the functionality of the above features, enabling programmatic management of data cleanup tasks. If you require assistance with the API, the [Secoda Community Slack](https://via.intercom.io/c?url=https%3A%2F%2Fjoin.slack.com%2Ft%2Fsecodacommunity%2Fshared_invite%2Fzt-mhnu278g-FktKZmZ51SDQtlu3NRAxqg\&h=13f5aaa171821956434fc25f4c759a803f98a84f-dssmg53d_11:24933\&l=d215b12164c764d92e3bca464c2434cae72f7a22-8270396) is available for support.
{% endhint %}

## Cost containment resources

* Articles:
  * [Data Stack Cost Management Best Practices | Secoda](https://www.secoda.co/blog/managing-costs-of-the-modern-data-stack-at-scale)
  * [How To Increase the ROI of Your Data Team | Secoda](https://www.secoda.co/blog/from-cost-center-to-revenue-generator-unleashing-the-potential-of-data-teams)
  * [4 ways to improve data quality | Secoda](https://www.secoda.co/blog/4-ways-to-improve-data-quality)
* Webinar: [Mastering cost containment for modern data teams](https://www.youtube.com/watch?v=1R8y8LZRJCU)
* [snowflake-costs](https://docs.secoda.co/integrations/data-warehouses/snowflake-integration/snowflake-costs "mention")


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.secoda.co/best-practices/clean-up-your-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
