home / cp40x

names

8 rows where case_id = 2278940

✎ 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
4744596 2278940 2278940 plaintiff Ewery henry     Ewery, henry 0
4744597 2278940 2278940 defendant Godyere Robert husbandman 601858 601858 Godyere, Robert, of Ilkeston, husbandman 0
4744598 2278940 2278940 defendant Clerk Roger husbandman 601858 601858 Clerk, Roger, of Ilkeston, husbandman 1
4744599 2278940 2278940 defendant Berege Thomas husbandman 601858 601858 Berege, Thomas, of Ilkeston, husbandman 2
4744600 2278940 2278940 defendant Thomson John husbandman 601858 601858 Thomson, John, of Ilkeston, husbandman 3
4744601 2278940 2278940 defendant Sherpe John fo ikleston, husbandman   Sherpe, John, fo ikleston, husbandman 4
4744602 2278940 2278940 defendant Wode John husbandman 780327 780327 Wode, John, of Frysseby, husbandman 5
4744603 2278940 2278940 defendant Broun William husbandman 780327 780327 Broun, William, of Frysseby, husbandman 6

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