home / cp40x

names

6 rows where case_id = 2032608

✎ 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
4022028 2032608 2032608 plaintiff Amyas Thomas gent 589534 589534 Amyas, Thomas, of Depham, gent 0
4022029 2032608 2032608 defendant Bore William husbandman 638090 638090 Bore, William, of Thompson, husbandman 0
4022030 2032608 2032608 defendant Godfrey Robert gent 598213 598213 Godfrey, Robert, of Walsyngham, gent 1
4022031 2032608 2032608 defendant Grene Edward gent 640141 640141 Grene, Edward, of Wylbye, gent 2
4022032 2032608 2032608 defendant Muryell Andrew cooper 676251 676251 Muryell, Andrew, of Old Bockenham, cooper 3
4022033 2032608 2032608 defendant Aldred Edmund husbandman 676252 676252 Aldred, Edmund, of Elsynge, husbandman 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 13.895ms