home / cp40x

names

6 rows where case_id = 2360635

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5012996 2360635 2360635 plaintiff Andrewe John     Andrewe, John 0
5012997 2360635 2360635 defendant Stowe Thomas husbandman 606072 606072 Stowe, Thomas, of Copford, husbandman 0
5012998 2360635 2360635 defendant Benchelawe Simon butcher 835085 835085 Benchelawe, Simon, of Bradwell juxta Maldon, butcher 1
5012999 2360635 2360635 defendant Bernard William smith 602189 602189 Bernard, William, of Goldangre, smith 2
5013000 2360635 2360635 defendant Colman John hosteler 586528 586528 Colman, John, of Ware, Herts, hosteler 3
5013001 2360635 2360635 defendant Skynner John skinner 586312 586312 Skynner, John, of Walden, skinner 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.043ms