home / cp40x

names

6 rows where case_id = 2174604

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4431456 2174604 2174604 plaintiff Botiller Edmund le   600560 600560 Botiller, Edmund le, of Wemme, son of William 0
4431457 2174604 2174604 defendant Egerton Philip de     Egerton, Philip de 0
4431458 2174604 2174604 defendant Wareyn Griffith son of John   Wareyn, Griffith, son of John 1
4431459 2174604 2174604 defendant Penynton Philip lord of   Penynton, Philip, lord of 2
4431460 2174604 2174604 defendant Laken John lord of   Laken, John, lord of 3
4431461 2174604 2174604 defendant Hull by Mortoneshay Hugh de     Hull by Mortoneshay, Hugh de 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.11ms