home / cp40x

names

7 rows where case_id = 1914228

✎ 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
3662619 1914228 1914228 plaintiff Mordaunt John     Mordaunt, John 0
3662620 1914228 1914228 plaintiff Gascoyng William     Gascoyng, William 1
3662621 1914228 1914228 defendant Heron John esq 605706 605706 Heron, John, of Chipchase Castle, Northum, esq 0
3662622 1914228 1914228 defendant Haselrygge Robert esq 605707 605707 Haselrygge, Robert, of Swarland, in Durham Bishopric, esq 1
3662623 1914228 1914228 defendant Bully William sadler 585869 585869 Bully, William, of London, sadler 2
3662624 1914228 1914228 defendant Couper William tailor 585869 585869 Couper, William, of London, tailor 3
3662625 1914228 1914228 defendant Thomson Thomas baker 605708 605708 Thomson, Thomas, of St Mary in the Strand, Middx, baker 4

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