home / cp40x

names

10 rows where case_id = 2280687

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4750665 2280687 2280687 plaintiff Roos Margaret formerly wife of John de Roos, knight   Roos, Margaret, formerly wife of John de Roos, knight 0
4750666 2280687 2280687 defendant Langley Thomas   795395 795395 Langley, Thomas, of Durham, bishop 0
4750667 2280687 2280687 defendant Suffolk William earl of   Suffolk, William, earl of 1
4750668 2280687 2280687 defendant Kynwalmerssh William clerk   Kynwalmerssh, William, clerk 2
4750669 2280687 2280687 defendant Wylughby Robert de knight   Wylughby, Robert de, knight 3
4750670 2280687 2280687 defendant Roos Robert   587360 587360 Roos, Robert, of Gedney, knight 4
4750671 2280687 2280687 defendant Meryng William knight   Meryng, William, knight 5
4750672 2280687 2280687 defendant Wodehouse John     Wodehouse, John 6
4750673 2280687 2280687 defendant Babynton William     Babynton, William 7
4750674 2280687 2280687 defendant Heton William     Heton, William 8

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.491ms