home / cp40x

names

8 rows where case_id = 1914203

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3662545 1914203 1914203 plaintiff Moke Thomas (legal representative)   Moke, Thomas, executors of 0
3662546 1914203 1914203 plaintiff Pryste John     (Pryste, John 1
3662547 1914203 1914203 plaintiff Pryste Joan     Joan, his wife 2
3662548 1914203 1914203 defendant More John smith 605676 605676 More, John, of Mosseley, Kyngesnorton, Worcs, smith 0
3662549 1914203 1914203 defendant Smyth Humphrey   723499 723499 Smyth, Humphrey, of Burmingham, shoe maker 1
3662550 1914203 1914203 defendant Moorns Richard husbandman 605678 605678 Moorns, Richard, of Brymmycham, husbandman 2
3662551 1914203 1914203 defendant Smyth William   586122 586122 Smyth, William, of Dudley, Worcs 3
3662552 1914203 1914203 defendant Wynslowe Thomas butcher 586125 586125 Wynslowe, Thomas, of Dudley, butcher 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 13.832ms