home / cp40x

names

6 rows where case_id = 1919563

✎ 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
3679198 1919563 1919563 plaintiff Partriche Nicholas     Partriche, Nicholas 0
3679199 1919563 1919563 plaintiff Venables William     Venables, William 1
3679200 1919563 1919563 defendant Chalderton Arnold gent 595508 595508 Chalderton, Arnold, of Swannescombe, gent 0
3679201 1919563 1919563 defendant Baker Thomas husbandman 609589 609589 Baker, Thomas, of Stone juxta Dartford, husbandman 1
3679202 1919563 1919563 defendant Pyerson John husbandman 609589 609589 Pyerson, John, of Stone juxta Dartford, husbandman 2
3679203 1919563 1919563 defendant Goodman John husbandman 609589 609589 Goodman, John, of Stone juxta Dartford, husbandman 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 14.354ms