home / cp40x

names

8 rows where case_id = 2172704

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4425176 2172704 2172704 plaintiff Lodelowe Lawrence de knight   Lodelowe, Lawrence de, knight 0
4425177 2172704 2172704 defendant Vykerys William le   755040 755040 Vykerys, William le, of Dudlebury or Diddlebury 0
4425178 2172704 2172704 defendant Bernard Henry   631109 631109 Bernard, Henry, of Coxton 1
4425179 2172704 2172704 defendant Russel John     Russel, John 2
4425180 2172704 2172704 defendant Childe Richard le, senior     Childe, Richard le, senior 3
4425181 2172704 2172704 defendant Stedeman Richard   755041 755041 Stedeman, Richard, of Coxston, son of William 4
4425182 2172704 2172704 defendant Bayly John le   613126 613126 Bayly, John le, of Santon 5
4425183 2172704 2172704 defendant Santon William de chaplain   Santon, William de, chaplain 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 12.318ms