home / cp40x

names

5 rows where case_id = 2505409

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5501520 2505409 2505409 plaintiff Spyrlyng Geoffrey     Spyrlyng, Geoffrey 0
5501521 2505409 2505409 defendant Bronde John weaver 585936 585936 Bronde, John, of Norwich, weaver 0
5501522 2505409 2505409 defendant Davy Robert barber 585936 585936 Davy, Robert, of Norwich, barber 1
5501523 2505409 2505409 defendant Walsshman Geoffrey yeoman 585936 585936 Walsshman, Geoffrey, of Norwich, yeoman 2
5501524 2505409 2505409 defendant Mete John barker 629757 629757 Mete, John, of Heigham juxta Norwich, barker 3

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