# Metadata File Only

**URL:** <https://discourse.mozilla.org/t/metadata-file-only/81988>\
**Category:** Common Voice\
**Tags:** learning\
**Created:** [June 21, 2021, 5:36pm UTC](https://discourse.mozilla.org/t/metadata-file-only/81988 "2021-06-21T17:36:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sara\_Jordan](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@Sara\_Jordan](https://discourse.mozilla.org/u/Sara_Jordan)\
**Post date:** [June 21, 2021, 5:36pm UTC](https://discourse.mozilla.org/t/metadata-file-only/81988/1 "2021-06-21T17:36:52Z")

</div>

Is it possible to have a file of only the metadata from the speakers included in the Common Voice data? I would like to use the distributions of age and gender in a project related to inclusion of older persons data in ML datasets.

---

<div class="post-metadata">

**Author:** ![ftyers](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/ftyers/32/59280_2.png) [@ftyers](https://discourse.mozilla.org/u/ftyers)\
**Post date:** [June 21, 2021, 10:26pm UTC](https://discourse.mozilla.org/t/metadata-file-only/81988/2 "2021-06-21T22:26:24Z")

</div>

Would you like aggregated metadata ? And which language(s) are you interested in ?

Here is one command you could use:

```auto
itzpapalotl:~/CV/cv-corpus-6.1-2020-12-11$ for i in *; do cat $i/train.tsv | grep -v '^client_id' | cut -f6-8 | sort -f | uniq -c | sort -gr | sed 's/^ *//g' | sed "s/^/$i\t/g" ; done | grep -v '[][0-9][]'

```

The result would be something like [this](https://dpaste.com/FMTQ2PLX7).

If you’d like more help in real time, feel free to join us on [Matrix](https://app.element.io/#/room/#common-voice:mozilla.org).
