home / cp40x

names

6 rows where case_id = 2439178

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5279808 2439178 2439178 plaintiff Bryce Thomas     Bryce, Thomas 0
5279809 2439178 2439178 defendant Doget John yeoman 594980 594980 Doget, John, of Gravesende, Kent, yeoman 0
5279810 2439178 2439178 defendant Carter Richard yeoman 597920 597920 Carter, Richard, of Sele, Kent, yeoman 1
5279811 2439178 2439178 defendant Esyngwold John gent 829232 829232 Esyngwold, John, of Newerk, Lincs, gent 2
5279812 2439178 2439178 defendant Sudbury Robert gent 587460 587460 Sudbury, Robert, of Sudbury, Suff, gent 3
5279813 2439178 2439178 defendant Castell Richard   591218 591218 Castell, Richard, of Wallyngford, Berks 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 12.725ms