audb.infoΒΆ

Get information from database headers.

Instead of caching the header (db.yaml) of a database first locally to inspect it, the functions under audb.info provide you direct access to this information.

So instead of running:

>>> db = audb.load("emodb", version="1.4.1", only_metadata=True, verbose=False)
>>> db.tables
emotion:
  type: filewise
  columns:
    emotion: {scheme_id: emotion, rater_id: gold}
    emotion.confidence: {scheme_id: confidence, rater_id: gold}
emotion.categories.test.gold_standard:
  type: filewise
  split_id: test
  columns:
    emotion: {scheme_id: emotion, rater_id: gold}
    emotion.confidence: {scheme_id: confidence, rater_id: gold}
emotion.categories.train.gold_standard:
  type: filewise
  split_id: train
  columns:
    emotion: {scheme_id: emotion, rater_id: gold}
    emotion.confidence: {scheme_id: confidence, rater_id: gold}
files:
  type: filewise
  columns:
    duration: {scheme_id: duration}
    speaker: {scheme_id: speaker}
    transcription: {scheme_id: transcription}

You can run:

>>> audb.info.tables("emodb", version="1.4.1")
emotion:
  type: filewise
  columns:
    emotion: {scheme_id: emotion, rater_id: gold}
    emotion.confidence: {scheme_id: confidence, rater_id: gold}
emotion.categories.test.gold_standard:
  type: filewise
  split_id: test
  columns:
    emotion: {scheme_id: emotion, rater_id: gold}
    emotion.confidence: {scheme_id: confidence, rater_id: gold}
emotion.categories.train.gold_standard:
  type: filewise
  split_id: train
  columns:
    emotion: {scheme_id: emotion, rater_id: gold}
    emotion.confidence: {scheme_id: confidence, rater_id: gold}
files:
  type: filewise
  columns:
    duration: {scheme_id: duration}
    speaker: {scheme_id: speaker}
    transcription: {scheme_id: transcription}

attachments

Attachment(s) of database.

author

Author(s) of database.

bit_depths

Media bit depth.

channels

Media channels.

description

Description of database.

duration

Total media duration.

files

Media files included in the database.

formats

Media formats.

header

Load header of database.

languages

Languages of database.

license

License of database.

license_url

License URL of database.

media

Audio and video media of database.

meta

Meta information of database.

misc_tables

Miscellaneous tables of database.

organization

Organization responsible for database.

raters

Raters contributed to database.

sampling_rates

Media sampling rates.

schemes

Schemes of database.

source

Source of database.

splits

Splits of database.

tables

Tables of database.

usage

Usage of database.