home / cp40x

names

7 rows where case_id = 1869485

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3605810 1869485 1869485 plaintiff Lemman Richard tailor 585869 585869 Lemman, Richard, of London, tailor 0
3605811 1869485 1869485 defendant Gudge Nicholas yeoman 591858 591858 Gudge, Nicholas, of Estham, Essex, yeoman 0
3605812 1869485 1869485 defendant Alford John baker 585869 585869 Alford, John, of London, baker 1
3605813 1869485 1869485 defendant Wellysby Thomas turner 591859 591859 Wellysby, Thomas, of St Mary Stronde, turner 2
3605814 1869485 1869485 defendant Denys John tailor 585869 585869 Denys, John, of London, tailor 3
3605815 1869485 1869485 defendant Hunt Thomas yeoman 585929 585929 Hunt, Thomas, of St Clement Danes, yeoman 4
3605816 1869485 1869485 defendant Nycoll Robert tailor 591859 591859 Nycoll, Robert, of St Mary Stronde, tailor 5

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 12.472ms