Data basics

Datasets and file formats

What a dataset is, how a table is organised, and when to use CSV, Excel, JSON or GeoJSON files.

Beginner · about 7 minutes · reviewed 2026-11-25

What a dataset is

A dataset is a collection of data published together, with a description of what it contains. On Rescue Data Labs each dataset has a page with its source, licence, coverage, versions and files.

Most datasets are tables:

  • each row is one observation (for example, one indicator in one year);
  • each column is one property of that observation (indicator, year, value);
  • the first row, the header, names the columns.

The World Bank file on this site has three columns:

indicator_id year value
pop-total 2011 (number)
pop-growth 2011 (number)

This “long” layout — one value per row — is easy for computers to filter and chart. A “wide” layout puts each year in its own column; it is easier to read on paper but harder to analyse.

Common formats

Format What it is Open with Use when
CSV (.csv) Plain text, values separated by commas Excel, LibreOffice, Google Sheets, any text editor, Python, R Almost always — it is simple, small and works everywhere
Excel (.xlsx) Spreadsheet workbook, can hold several sheets and formatting Excel, LibreOffice, Google Sheets The source only publishes Excel, or a file needs several sheets
JSON (.json) Structured text for programs A browser, code Feeding a website or app (see /catalog.json)
GeoJSON (.geojson) JSON with map shapes or points QGIS, mapshaper.org, code Boundaries and locations (see Maps and P-codes)
PDF A document for reading Any PDF reader Reports and methods — not for data you want to analyse

Prefer CSV when you have a choice. A table inside a PDF has to be copied by hand, which introduces errors.

Versions and checksums

Data gets corrected and updated. Each release on this site is a version (1.0, 1.1, 2.0). Old versions stay downloadable, so a result you published can always be checked against the exact file you used. Each file also has a SHA-256 checksum — a fingerprint that changes if a single character changes. See Downloading data.

Metadata: the description of the data

Good data comes with metadata: what each column means, units, source, licence, how it was collected, and known problems. On this site it is on the dataset page and, for programs, at /data/<dataset>/metadata.json. Read it before you analyse.

Was this guide useful?

Tell us what was clear, unclear or missing. The link opens an email with the guide's address filled in — nothing else is sent, and nothing is recorded on this site.

Send feedback on this guide Suggest another guide