home / cp40x

names

7 rows where case_id = 2224292

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4576930 2224292 2224292 plaintiff Burton John     Burton, John 0
4576931 2224292 2224292 plaintiff Burton Christine     Christine, his wife 1
4576932 2224292 2224292 defendant Horsley Henry     Horsley, Henry 0
4576933 2224292 2224292 defendant Cook Edmund gardener   Cook, Edmund, gardener 1
4576934 2224292 2224292 defendant Harward John esq   Harward, John, esq 2
4576935 2224292 2224292 defendant Warde John   588045 588045 Warde, John, of Exton 3
4576936 2224292 2224292 defendant Eketon Andrew knight   Eketon, Andrew, knight 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 14.496ms