home / cp40x

names

6 rows where case_id = 2264828

✎ 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
4697861 2264828 2264828 plaintiff Cosham John mercer 585869 585869 Cosham, John, of London, mercer 0
4697862 2264828 2264828 defendant Cokesyhed William chapman 786521 786521 Cokesyhed, William, of Chelmeleys, Devon, chapman 0
4697863 2264828 2264828 defendant Mergore Richard chapman 592217 592217 Mergore, Richard, of Chichester, Sussex, chapman 1
4697864 2264828 2264828 defendant Bavy John chapman 786522 786522 Bavy, John, of Wrytelyng, Sussex, chapman 2
4697865 2264828 2264828 defendant Gerard John chapman 781252 781252 Gerard, John, of Derby, Derbs, chapman 3
4697866 2264828 2264828 defendant Portour John chapman 786523 786523 Portour, John, of Chester, Cheshire, 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 15.785ms