home / cp40x

names

6 rows where case_id = 2020773

✎ 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
3988897 2020773 2020773 plaintiff Averell Henry haberdasher 585869 585869 Averell, Henry, of London, haberdasher 0
3988898 2020773 2020773 defendant Roper John butcher 622335 622335 Roper, John, of St Clement Danes without Temple Bar, butcher 0
3988899 2020773 2020773 defendant Browne Thomas gent 585869 585869 Browne, Thomas, of London, or of Lounton Brige, Lincs, gent 1
3988900 2020773 2020773 defendant Burde Robert chapman 655953 655953 Burde, Robert, of Huntingdon, Hunts, chapman 2
3988901 2020773 2020773 defendant Jaxon Martin mercer 586067 586067 Jaxon, Martin, of York, mercer 3
3988902 2020773 2020773 defendant Foster Thomas gent 668382 668382 Foster, Thomas, of Cobhame, Kent, gent 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 14.096ms