home / cp40x

names

8 rows where case_id = 2528129

✎ 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
5577801 2528129 2528129 plaintiff Wyccars Thomas     Wyccars, Thomas 0
5577802 2528129 2528129 defendant Whencelay William gent 902110 902110 Whencelay, William, of Preston, North Riding, gent 0
5577803 2528129 2528129 defendant Braythwayte William laborer 587004 587004 Braythwayte, William, of Preston, laborer 1
5577804 2528129 2528129 defendant Hillarye Robert laborer 587004 587004 Hillarye, Robert, of Preston, laborer 2
5577805 2528129 2528129 defendant Waynman Richard laborer 587004 587004 Waynman, Richard, of Preston, laborer 3
5577806 2528129 2528129 defendant Thistilwayte Thomas laborer 902111 902111 Thistilwayte, Thomas, of Whencelay, laborer 4
5577807 2528129 2528129 defendant Typlady John laborer 826831 826831 Typlady, John, of Rydmer, laborer 5
5577808 2528129 2528129 defendant Hedeley Robert laborer 800951 800951 Hedeley, Robert, of Laburn, laborer 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 17.216ms