home / cp40x

names

6 rows where case_id = 1927865

✎ 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
3705037 1927865 1927865 plaintiff Grenewoode Thomas grocer 585936 585936 Grenewoode, Thomas, of Norwich, grocer 0
3705038 1927865 1927865 defendant Oldeman John baker 587167 587167 Oldeman, John, of Parva Walsyngham, baker 0
3705039 1927865 1927865 defendant Brend Nicholas   594023 594023 Brend, Nicholas, of Magna Hautboys, worsted weaver 1
3705040 1927865 1927865 defendant Symond John of Elsyng minstrel   Symond, John of Elsyng, minstrel 2
3705041 1927865 1927865 defendant Feld John mercer 591141 591141 Feld, John, of Loddon, mercer 3
3705042 1927865 1927865 defendant Purry John thatcher 610996 610996 Purry, John, of Alby, thatcher 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.081ms