home / cp40x

names

8 rows where case_id = 1997680

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3921928 1997680 1997680 plaintiff Randall James (legal representative) 592026 592026 Randall, James, of Baldok, gent, executors of 0
3921929 1997680 1997680 plaintiff Core John rector of Aston   (Core, John, rector of Aston 1
3921930 1997680 1997680 plaintiff Byll John, senior   587532 587532 Byll, John, senior, of Asshewell 2
3921931 1997680 1997680 defendant Broun George gent 600730 600730 Broun, George, of White Rodyng, Essex, gent 0
3921932 1997680 1997680 defendant Adnett William rector of Ansty   Adnett, William, rector of Ansty 1
3921933 1997680 1997680 defendant Malett Henry clerk 601108 601108 Malett, Henry, of Hechyn, clerk 2
3921934 1997680 1997680 defendant Kyng Thomas husbandman 587532 587532 Kyng, Thomas, of Asshewell, husbandman 3
3921935 1997680 1997680 defendant Couper Edmund yeoman 646218 646218 Couper, Edmund, of Arlesey, Beds, yeoman 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.161ms