---
title: Data
description: Returns a data structure composed from the files in the data directory.
categories: []
keywords: []
params:
  functions_and_methods:
    returnType: map
    signatures: [SITE.Data]
expiryDate: '2028-02-18' # deprecated 2026-02-18 in v0.156.0
---

{{< deprecated-in 0.156.0 >}}
Use the [`hugo.Data`](/functions/hugo/data/) function instead.
{{< /deprecated-in >}}
