home / cp40x

names

6 rows where case_id = 2517375

✎ 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
5541218 2517375 2517375 plaintiff Jarford James mercer 585869 585869 Jarford, James, of London, mercer 0
5541219 2517375 2517375 defendant Willoughby Hugh fishmonger 586846 586846 Willoughby, Hugh, of Lincoln, fishmonger 0
5541220 2517375 2517375 defendant Saunderson William carpenter 586846 586846 Saunderson, William, of Lincoln, carpenter 1
5541221 2517375 2517375 defendant Borowe William husbandman 794843 794843 Borowe, William, of Wellyngore, Lincs, husbandman 2
5541222 2517375 2517375 defendant Steyll John butcher 586846 586846 Steyll, John, of Lincoln, butcher 3
5541223 2517375 2517375 defendant Stokys John husbandman 609178 609178 Stokys, John, of Wellyngore, husbandman 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 8.452ms