# Entity-based data collection

**URL:** <https://forum.getodk.org/t/entity-based-data-collection/38115>\
**Category:** Ideas\
**Tags:** in-progress, form-design, odk-central, odk-collect\
**Created:** [June 27, 2022, 10:18pm UTC](https://forum.getodk.org/t/entity-based-data-collection/38115 "2022-06-27T22:18:10Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![ahblake](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ahblake/32/22392_2.png) [@ahblake](https://forum.getodk.org/u/ahblake)\
**Post date:** [February 15, 2023, 4:11am UTC](https://forum.getodk.org/t/entity-based-data-collection/38115/10 "2023-02-15T04:11:03Z")

</div>

I've been thinking about entities recently in the context of my use and have had a look at the preview. It's a super exciting feature I can see many applications for.

For an entity, could/would the dataset contain duplicates for a given entity ID, in essence recording the history of that entity (eg tree circumference at a number of historical visits, weight at different ages etc). The most recent entity could be pulled by other forms based on timestamp of creation or a 'current' type flag, and a dataset could be pulled with the history for a field(s). Or is this the intent of _archiving_ an entity so you have one live current state, and many archived (but still able to be consumed by a form or queried externally) states?

~~The datasets are CSVs currently, is there any way an entity could include media of any sort, eg a drawing/photo?~~ add files exists as 0.09. Before it's added, could the dataset have an `image` field that would trigger Central to add those files as attachments?

Creating multiple entities from a single submission (also discussed [here](https://forum.getodk.org/t/create-multiple-entities-datasets-from-one-form/40154/6)) isn't on the functionality sheet yet, but seems to me to be quite important. eg for a family, add details for each member via a repeat, and add all members to the dataset.

---

_[View the full topic](https://forum.getodk.org/t/entity-based-data-collection/38115)._
