home / cp40x

names

7 rows where case_id = 2235421

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4614098 2235421 2235421 plaintiff Donyngton William     Donyngton, William 0
4614099 2235421 2235421 defendant Spenser Thomas   607947 607947 Spenser, Thomas, of Lapworth 0
4614100 2235421 2235421 defendant Nurtur Richard   620059 620059 Nurtur, Richard, of Pakwod 1
4614101 2235421 2235421 defendant Sly Simon   607947 607947 Sly, Simon, of Lapworth 2
4614102 2235421 2235421 defendant Waller John   774605 774605 Waller, John, of Kyngesword 3
4614103 2235421 2235421 defendant Cokkes John, sen   753502 753502 Cokkes, John, sen, of Henle 4
4614104 2235421 2235421 defendant Cokkes John jun, of Henle   Cokkes, John, jun, of Henle 5

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 7.95ms