home / cp40x

names

6 rows where case_id = 2264016

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4695311 2264016 2264016 plaintiff Brigge William mercer 585869 585869 Brigge, William, of London, mercer 0
4695312 2264016 2264016 defendant Panyot John chapman 590478 590478 Panyot, John, of Sandwich, Kent, chapman 0
4695313 2264016 2264016 defendant Thornton John gent 749487 749487 Thornton, John, of Slapton, Nhants, gent 1
4695314 2264016 2264016 defendant Crane John gent 786006 786006 Crane, John, of Cotenham, Suffolk, gent 2
4695315 2264016 2264016 defendant Mulward Robert merchant 585925 585925 Mulward, Robert, of Bristol, merchant 3
4695316 2264016 2264016 defendant Lucas William chapman 597826 597826 Lucas, William, of Brampton, Hunts, chapman 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 13.766ms