home / cp40x

names

7 rows where case_id = 2322376

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4885606 2322376 2322376 plaintiff Aldhous Thomas     Aldhous, Thomas 0
4885607 2322376 2322376 defendant Richer Robert   817308 817308 Richer, Robert, of Balidon, Essex, wheelwright 0
4885608 2322376 2322376 defendant Barbour William barber 586953 586953 Barbour, William, of Sudbury, barber 1
4885609 2322376 2322376 defendant Boteler John chapman 676236 676236 Boteler, John, of Earls Colne, Essex, chapman 2
4885610 2322376 2322376 defendant Wellok Stephen mercer 586953 586953 Wellok, Stephen, of Sudbury, mercer 3
4885611 2322376 2322376 defendant Comays John husbandman 588135 588135 Comays, John, of Somerton, husbandman 4
4885612 2322376 2322376 defendant Godale Thomas husbandman 799654 799654 Godale, Thomas, of Ketilberton, husbandman 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 14.34ms