# Beautlemania data dictionary

The datasets behind beautlemania.com, described column by column. License: CC BY-SA 4.0. Please credit “Beautlemania (beautlemania.com)” and keep the listed sources. Catalog and downloads: https://beautlemania.com/data

## Conventions

- **Encoding:** UTF-8 throughout, with curly quotes and dashes in descriptive text. In Excel, open CSVs with Data › From Text/CSV and choose UTF-8.
- **Dates:** ISO format, YYYY-MM-DD. A blank date means the source gives none.
- **Song IDs:** <album-id>-<two-digit track number>, such as revolver-07. The same ID is used in sound-songs.csv, sound-credits.csv and writers.csv, so those files join on song_id. Album IDs (please-please-me … let-it-be) are the same in every file.
- **Songs:** A song has one slug, such as ticket-to-ride: the last part of its page address (songs/ticket-to-ride). songs.json lists all 213 with their titles and track IDs. Every file that names a song carries the slug (song_slug in the CSVs, slug in the JSON), so files join on the slug and never on spelling. A song on two releases (an album and Past Masters) has two song IDs and one slug.
- **Titles:** A song title is spelled one way in every file: the Beatles’ own release title, in the style of Wikipedia’s article titles (Ticket to Ride; Hello, Goodbye). Where a record or chart worded a title differently (the American Help! album has You’re Gonna Lose That Girl), the row keeps that wording and the slug says which song it is. Titles and names use a plain apostrophe (') so that they match across files; descriptive text uses typographic quotes.
- **People:** In the instrument credits each row names one person, under one spelling. Players the source names together on one line share a source_line number. Players the source does not name are the single name Unidentified (person_kind unidentified), with whatever the source says about them in person_note; a named ensemble is person_kind group.
- **Lists in one cell:** Several values in one cell are separated by “; ” (people, instruments, singers) or “ | ” (notes and sources, which may themselves contain semicolons).
- **Yes or blank:** Flag columns hold “yes” or are empty (except album_list_complete, which is yes or no).
- **Sources:** Rows carry their source. The song credits, songwriters, set lists, US albums and concert list link to the exact saved Wikipedia revision used (…index.php?oldid=…), so each fact can be checked against the text it came from.
- **JSON or CSV:** The JSON files are the source of truth and sometimes hold more (methods, notes, structure). The CSVs are flat copies of the same data.

## sound-songs.csv (Instrument credits)

One track on an album or Past Masters (219 rows).

| Column | Meaning |
| --- | --- |
| `song_id` | Song ID (see conventions). |
| `song_slug` | The song’s slug (see conventions). |
| `album` | Album title. |
| `album_release_date` | UK release date of the album. |
| `track_number` | Position on the original UK album, or on Past Masters (1–33). |
| `title` | Song title. |
| `instrument_families_listed` | Number of distinct instrument families credited, counting only firm credits. |
| `instrument_families_with_alternatives` | The same count including alternative or disputed credits. |
| `instruments_listed` | The firm instrument families, “; ”-separated. |
| `instruments_alternative` | Families credited only as an alternative or disputed. |
| `notes` | How the source wording was normalized for this song (which terms were merged or excluded). |
| `other_credits` | Credits that are not instruments: vocals, hand claps, effects and so on. |
| `source_article` | Wikipedia article. |
| `source_revision` | Saved revision used. |
| `retrieved` | Date the revision was retrieved. |

## sound-credits.csv (Instrument credits)

One credit to one person on one song (2,535 rows).

| Column | Meaning |
| --- | --- |
| `song_id` | Song ID; joins to sound-songs.csv and writers.csv. |
| `song_slug` | The song’s slug (see conventions). |
| `album` | Album title. |
| `title` | Song title. |
| `person` | Who is credited: one person per row, under one spelling across the file (Beatles, George Martin, session players). Unidentified where the source names nobody. |
| `person_kind` | person, group (a named ensemble, such as Sounds Incorporated) or unidentified. |
| `ensemble` | The ensemble this person is credited as a member of (The Mike Sammes Singers); blank otherwise. |
| `person_note` | What else the source says about who played: “session musicians”, “36-piece orchestra”, “surname unknown”, or that a part is credited to one of two people. |
| `source_term` | The credit as worded in the source, such as “lead guitar” or “Hammond organ”. Players named together keep the source’s plural (“violins”). |
| `category` | instrument, vocal, body percussion, sound source, production, credit qualifier, non-instrument credit or unspecified. |
| `instrument_family` | Normalised instrument family for instrument credits (lead and rhythm guitar → guitar); blank otherwise. |
| `alternative` | “yes” if the source gives this as an alternative or disputed credit. |
| `source_line` | Which line of the source’s personnel list the credit comes from, counting from 1 within the song. People named together on one line share the number. |
| `source_revision` | Saved Wikipedia revision. |

## writers.csv (Songwriters)

One track on an album or Past Masters (219 rows).

| Column | Meaning |
| --- | --- |
| `song_id` | Song ID; joins to the instrument credits. |
| `song_slug` | The song’s slug (see conventions). |
| `album_id` | Album ID. |
| `album` | Album title. |
| `track_number` | Position on the original UK album, or on Past Masters (1–33). |
| `title` | Song title. |
| `writer_group` | lm (Lennon–McCartney), harrison, starkey, band (credited to three or all four of them, or traditional) or cover. |
| `official_credit` | The writing credit as printed, such as “Lennon–McCartney”, “McCartney–Lennon” or the cover’s writers. |
| `main_writer` | Lennon–McCartney songs only: john or paul (mainly his song, even with help from the other), both (credited to both or split between them), or disputed (they later disagreed). Blank for other groups. |
| `evidence` | The sentence from the source article that names the writer. |
| `source_article` | Wikipedia article. |
| `source_revision` | Saved revision used. |

## setlists.csv (Set lists)

One song in one slot of one tour’s typical set (108 rows). An “A or B” slot has two rows with the same slot number.

| Column | Meaning |
| --- | --- |
| `tour_id` | Tour ID, such as 1965-us; the rooftop is 1969-rooftop. |
| `tour` | Tour name. |
| `region` | Where the tour went. |
| `start_date` | First show. |
| `end_date` | Last show. |
| `shows` | Number of shows on the tour. |
| `slot` | Position in the running order, from 1. |
| `slot_kind` | set (in the usual set) or alternative (kept ready, not normally played). |
| `choice` | 1 for the song usually played; 2 for the other song in an “A or B” slot. |
| `title` | Song title. |
| `song_slug` | The song’s slug (see conventions); blank for a song the Beatles never released (Some Other Guy, for example). |
| `lead_singers` | Lead singers, “; ”-separated (John, Paul, George, Ringo). Blank for the rooftop, whose source names none. |
| `song_notes` | Notes on this song at this slot, such as shows where it was dropped. |
| `slot_notes` | Notes on the slot as a whole. |
| `source_article` | Wikipedia tour article. |
| `source_revision` | Saved revision used. |

## us-albums.csv (US albums)

One track on one North American album (158 rows).

| Column | Meaning |
| --- | --- |
| `album_id` | US album ID. |
| `album` | US album title. |
| `label` | Record label: Capitol, Vee-Jay, United Artists or Apple/Capitol. |
| `release_date` | US release date. |
| `side` | Side of the LP. |
| `track` | Track number on that side. |
| `title` | Song title; the album’s own wording where it differs from the usual title. |
| `song_slug` | The song’s slug (see conventions); blank for the film-score instrumentals. |
| `film_score` | “yes” for George Martin’s film-score instrumentals, which are not Beatles recordings. |
| `first_uk_release_id` | ID of the song’s first UK release: an album ID, a single or EP ID, or film-score. |
| `first_uk_release` | Title of that release. |
| `first_uk_kind` | lp, single, ep, compilation, foreign (first issued in West Germany, in German) or score. |
| `first_uk_date` | UK release date; blank for film-score tracks. |
| `us_first` | “yes” if this US album came out before the song’s first UK release. |
| `album_note` | Note on the album, such as variant editions. |
| `source_revision` | Saved revision of the album’s Wikipedia article. |

## charts-singles.csv (Chart history)

One single in Wikipedia’s Beatles singles table, 1961–2023 (65 rows). Peaks are the highest ever reached, reissues included.

| Column | Meaning |
| --- | --- |
| `id` | Single ID: year and A side. |
| `year` | Year of first release. |
| `a_side` | A side (two titles joined by “ / ” for a double A side listed as one). |
| `a_song_slug` | The A side’s slug (see conventions); blank for a song that is not on the thirteen albums or Past Masters. |
| `b_side` | B side, or the second side of a double A side. |
| `b_song_slug` | The B side’s slug; blank as for the A side. |
| `other_sides` | Other B sides used in some countries, “ / ”-separated. |
| `detail` | The table’s small print: where it was released, or who else is credited. |
| `uk_single_id` | ID in singles.json if this is one of the 22 original UK singles. |
| `peak_uk` | Peak on the UK singles chart; blank if it did not chart or was not released there. |
| `peak_us` | Peak on the Billboard Hot 100 (US) chart; blank if it did not chart or was not released there. |
| `peak_aus` | Peak on the Australian chart; blank if it did not chart or was not released there. |
| `peak_bel` | Peak on the Belgian chart; blank if it did not chart or was not released there. |
| `peak_can` | Peak on the Canadian chart; blank if it did not chart or was not released there. |
| `peak_fin` | Peak on the Finnish chart; blank if it did not chart or was not released there. |
| `peak_ger` | Peak on the German chart; blank if it did not chart or was not released there. |
| `peak_nld` | Peak on the Dutch chart; blank if it did not chart or was not released there. |
| `peak_nor` | Peak on the Norwegian chart; blank if it did not chart or was not released there. |
| `peak_nz` | Peak on the New Zealand chart; blank if it did not chart or was not released there. |
| `peak_swe` | Peak on the Swedish chart; blank if it did not chart or was not released there. |
| `notes` | The table’s footnotes, as “chart: note”, “ &#124; ”-separated (for example an original peak before a reissue). |

## charts-albums.csv (Chart history)

One original UK or US album, 1963–1970 (31 rows). Peaks are the highest ever reached, later re-entries included.

| Column | Meaning |
| --- | --- |
| `id` | Chart row ID: edition and album ID. |
| `edition` | UK or US. |
| `title` | Album title as the source gives it. |
| `album_id` | Album ID in the file named by album_list. |
| `album_list` | albums (albums.json, the core albums, also used for US releases of the same album) or us-albums (us-albums.json). |
| `released` | Release date in that country. |
| `label` | Record label. |
| `peak_uk` | Peak on the UK albums chart; blank if it did not chart or was not released there. |
| `peak_us` | Peak on the Billboard 200 (US) chart; blank if it did not chart or was not released there. |
| `peak_us_cash_box` | Peak on the US Cash Box albums chart; blank if it did not chart or was not released there. |
| `peak_aus` | Peak on the Australian chart; blank if it did not chart or was not released there. |
| `peak_aut` | Peak on the Austrian chart; blank if it did not chart or was not released there. |
| `peak_can` | Peak on the Canadian chart; blank if it did not chart or was not released there. |
| `peak_fra` | Peak on the French chart; blank if it did not chart or was not released there. |
| `peak_ger` | Peak on the German chart; blank if it did not chart or was not released there. |
| `peak_nor` | Peak on the Norwegian chart; blank if it did not chart or was not released there. |
| `peak_nz` | Peak on the New Zealand chart; blank if it did not chart or was not released there. |
| `peak_swe` | Peak on the Swedish chart; blank if it did not chart or was not released there. |
| `notes` | The table’s footnotes, as “chart: note” or “release: note”, “ &#124; ”-separated. |

## screen.csv (On screen)

One film, TV appearance, promotional film or documentary (103 rows).

| Column | Meaning |
| --- | --- |
| `id` | Item ID: year and title; screen#<id> links to it. |
| `year` | Year. |
| `date` | Date as the source gives it: usually broadcast or release, sometimes the day of taping or filming; blank where the source gives only a year. |
| `title` | Title as the source gives it. |
| `kind` | The source's kind: feature film, TV broadcast, TV special, promotional film, documentary and so on. |
| `group` | film, tv, promo or doc. |
| `summary` | One sentence from the source, where it gives one. |
| `details` | Other fields from the source (director, broadcaster, venue, taping date, note), “ &#124; ”-separated. |
| `source_article` | Wikipedia article. |
| `source_revision` | Saved revision used. |

## instruments.csv (The gear)

One instrument or amplifier used by one Beatle (85 rows). The source is flagged for original research; read the notes.

| Column | Meaning |
| --- | --- |
| `id` | Item ID: Beatle and instrument. |
| `beatle` | John, Paul, George or Ringo. |
| `instrument` | Make and model as the source names it. |
| `type` | guitar, bass, drums, keyboard, other or amp. |
| `first_used` | When it first turns up: a table period or a year from the text, as given. |
| `year` | The first year in first_used, for sorting; blank if none. |
| `notes` | Details from the source, including where it contradicts itself. |

## recording-sessions.csv (Recording sessions)

One day on which a session produced material used on an album.

| Column | Meaning |
| --- | --- |
| `album_id` | Album ID. |
| `album` | Album title. |
| `date` | Session date. |
| `phase` | The recording phase the date falls in, or “outside main phases”. |
| `song_if_outlier` | For a date well outside the album’s main sessions, the song recorded that day. |
| `album_release_date` | UK release date of the album. |
| `album_list_complete` | “yes” if the sources give a complete list of session days for this album. |
| `sources` | Source URLs for the album, “ &#124; ”-separated. |

## places.csv (Beatles places)

One place.

| Column | Meaning |
| --- | --- |
| `id` | Place ID; the map links to map#<id>. |
| `name` | Name of the place. |
| `address` | Street address. |
| `area` | Town or city (Liverpool, Sefton and Wirral make up Merseyside). |
| `region` | Map region: merseyside, hamburg, london, britain (Britain and Ireland elsewhere), europe, north-america or asia-pacific. |
| `lat` | Latitude (WGS 84). |
| `lon` | Longitude (WGS 84). |
| `category` | home, school, studio, stage, song (a place in a song), milestone or tribute. |
| `people` | Beatles connected with it, “; ”-separated. |
| `years` | Years of the connection, as text. |
| `status` | The building today: standing, altered, rebuilt or demolished. |
| `visiting` | Whether and how it can be visited. |
| `summary` | Short description. |
| `note` | Further detail, where there is any. |
| `show_ids` | For a venue, its shows in live.csv (the id column), “; ”-separated. |
| `sources` | Sources as “label <url>”, “ &#124; ”-separated. |

## live.csv (Live performances)

One dated performance (1,058 rows). A day with two shows is one row.

| Column | Meaning |
| --- | --- |
| `id` | Show ID: the date, with -2 or -3 added for a second or third entry on the same day. |
| `date` | Performance date. |
| `shows_that_day` | Number of shows that day (two houses count as 2). |
| `city` | Town or city. |
| `country` | Country as it was then (West Germany, for example). |
| `venue` | Venue, under one name per venue and town. |
| `tour` | Tour or season name from the source list, if the date was part of one. |
| `setlist_tour_id` | The tour’s ID in setlists.csv, where the show belongs to a tour with a typical set list there. |
| `notes` | Notes from the source, and events moved out of the venue name (The Ed Sullivan Show, for example). |
| `lat` | Latitude of the town (not the venue). |
| `lon` | Longitude of the town. |
| `source_revision` | Saved Wikipedia revision the row comes from: the list of live performances, or the Roy Orbison tour’s own article for that tour’s shows. |

## JSON-only files

- **players.json** (Players and lead vocals): Derived from the instrument credits. people.<john|paul|george|ringo>.instruments.<family>.<album-id> lists the song IDs on which each Beatle is credited with that family; people.<name>.lead.<album-id> lists his lead vocals. songs maps every song ID to its title.
- **albums.json** (Albums): albums: the thirteen core albums with id, title, UK release date, format, summary and official source URL. companion: Past Masters.
- **singles.json** (UK singles): singles: the 22 original UK singles with id, date, A side and B side (sideA, sideB) and each side’s slug (sideASlug, sideBSlug).
- **past-masters.json** (Past Masters releases): tracks: one per Past Masters song ID, with slug, firstUkRelease (title, kind, date, and the other side for singles), firstRelease where it came out abroad first, recorded (dates as text) and source.
- **milestones.json** (Stories): milestones: dated stories (type life, milestone, screen or news) with text, an optional related page (href), the source revision, and for newer entries the article, retrieval date and the quoted sentence that dates the event (evidence).
- **onthisday.json** (On this day): events.<MM-DD>: every dated item from the other datasets for that day of the year, with year, date, type, text, a link into the site, and for stories and film and TV the source (src).
- **songs.json** (The song list): songs: the 213 songs on the thirteen albums and Past Masters, one entry each, in album order: slug (the song’s id in every file, and its page: songs/<slug>), title, tracks (its song IDs, two for a song that is also on Past Masters) and listedAs (other wordings of the title on a record or chart).
- **song-slugs.json** (Song page addresses): The same list as a plain lookup from title to slug, for scripts that only need that.
