home / cp40x

names

6 rows where case_id = 2014341

✎ 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
3970697 2014341 2014341 plaintiff Dixon Richard draper 585869 585869 Dixon, Richard, of London, draper 0
3970698 2014341 2014341 defendant Lacon Roland   605812 605812 Lacon, Roland, of Wylley, Salop gent 0
3970699 2014341 2014341 defendant Welton George gent 619648 619648 Welton, George, of Stoughton, Hunts, gent 1
3970700 2014341 2014341 defendant Harryson William gent 585869 585869 Harryson, William, of London, gent 2
3970701 2014341 2014341 defendant Segger William clothier 677057 677057 Segger, William, of Beckles, or of Sudbury, Suff, clothier 3
3970702 2014341 2014341 defendant Wylk Peter yeoman 585869 585869 Wylk, Peter, of London, yeoman 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 6.861ms