home / cp40x

names

8 rows where case_id = 2182049

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4440835 2182049 2182049 plaintiff Beylham Edmund   759193 759193 Beylham, Edmund, of Herdewyk, parson 0
4440836 2182049 2182049 defendant Wardeyn John     Wardeyn, John 0
4440837 2182049 2182049 defendant Wardeyn William clerk   Wardeyn, William, clerk 1
4440838 2182049 2182049 defendant Cornewayle Richard     Cornewayle, Richard 2
4440839 2182049 2182049 defendant Reve John clerk   Reve, John, clerk 3
4440840 2182049 2182049 defendant Shryne or Shryve Robert   645719 645719 Shryne or Shryve, Robert, of Dene 4
4440841 2182049 2182049 defendant Astyn John     Astyn, John 5
4440842 2182049 2182049 defendant Potager Roger     Potager, Roger 6

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.067ms