home / cp40x

names

8 rows where case_id = 2202839

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4507601 2202839 2202839 plaintiff Whitby John clerk     Whitby, John clerk 0
4507602 2202839 2202839 defendant Kere Walter   764597 764597 Kere, Walter, of Little Kanfeld 0
4507603 2202839 2202839 defendant Man William   585869 585869 Man, William, of London 1
4507604 2202839 2202839 defendant atte Felde William   591820 591820 atte Felde, William, of Harlowe 2
4507605 2202839 2202839 defendant Lane John   764598 764598 Lane, John, of Calde 3
4507606 2202839 2202839 defendant Cook John   764599 764599 Cook, John, of East Tilbury 4
4507607 2202839 2202839 defendant Frebench John     Frebench, John 5
4507608 2202839 2202839 defendant Clerk John   764600 764600 Clerk, John, of Grehith 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 9.183ms