home / cp40x

names

10 rows where case_id = 2321783

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4883582 2321783 2321783 plaintiff Vampage John     Vampage, John 0
4883583 2321783 2321783 defendant Alcok John merchant 585932 585932 Alcok, John, of Kingston on Hull, merchant 0
4883584 2321783 2321783 defendant Hadyslay Robert merchant 585932 585932 Hadyslay, Robert, of Kingston on Hull, merchant 1
4883585 2321783 2321783 defendant Alcok John, junior merchant 585932 585932 Alcok, John, junior, of Kingston on Hull, merchant 2
4883586 2321783 2321783 defendant Noreys John merchant 603006 603006 Noreys, John, of Gaynesburgh, Lincs, merchant 3
4883587 2321783 2321783 defendant Kynardby Roger merchant 596711 596711 Kynardby, Roger, of Gaynesburgh, merchant 4
4883588 2321783 2321783 defendant Argent John merchant 632520 632520 Argent, John, of Harpeswell, Lincs, merchant 5
4883589 2321783 2321783 defendant Talbot William merchant 586836 586836 Talbot, William, of Newcastle on Tyne, merchant 6
4883590 2321783 2321783 defendant Langton John merchant 586836 586836 Langton, John, of Newcastle on Tyne, merchant 7
4883591 2321783 2321783 defendant Belle William merchant 586836 586836 Belle, William, of Newcastle on Tyne, merchant 8

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 15.023ms