home / cp40x

names

6 rows where case_id = 2228011

✎ 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
4589222 2228011 2228011 plaintiff Lemer John chaplain   Lemer, John, chaplain 0
4589223 2228011 2228011 defendant Danyel Robert   767158 767158 Danyel, Robert, of Bresete 0
4589224 2228011 2228011 defendant Levermere William laborer 772476 772476 Levermere, William, of Great Cornherde, laborer 1
4589225 2228011 2228011 defendant Prat Walter   590415 590415 Prat, Walter, of Mildenhale 2
4589226 2228011 2228011 defendant Andymer Thomas   587821 587821 Andymer, Thomas, of South Elmham, parson of St James' church 3
4589227 2228011 2228011 defendant Illye John butcher 772478 772478 Illye, John, of Neddynge, butcher 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.311ms