How to get size of a dataset?

There are two ways to know the size of a dataset:

  • the /size endpoint, as you mentioned: limited to the datasets compatible with the dataset viewer
  • the metadata filled in the README YAML frontmatter

If any of these are available, the size is shown in the right column:

Re:

but it does not work when the dataset is not compatible with the dataset viewer

Most of the datasets should be compatible. A big part of the incompatible datasets are empty repositories.

1 Like