home / cp40x

names

6 rows where case_id = 2311663

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4850656 2311663 2311663 plaintiff Thornton William     Thornton, William 0
4850657 2311663 2311663 defendant Brampton Thomas husbandman 587058 587058 Brampton, Thomas, of Sutton, husbandman 0
4850658 2311663 2311663 defendant Perkyn John husbandman 590957 590957 Perkyn, John, of Ayworth, husbandman 1
4850659 2311663 2311663 defendant Martyn William husbandman 812564 812564 Martyn, William, of Melowe, husbandman 2
4850660 2311663 2311663 defendant Balle William husbandman 812564 812564 Balle, William, of Melowe, husbandman 3
4850661 2311663 2311663 defendant Barbour William husbandman 591189 591189 Barbour, William, of Dunton, 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 7.45ms