home / cp40x

names

7 rows where case_id = 2018116

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3981398 2018116 2018116 plaintiff Rawlynson William administrators of   Rawlynson, William, administrators of 0
3981399 2018116 2018116 plaintiff Cabell John     (Cabell, John 1
3981400 2018116 2018116 defendant Wrethe Philip yeoman 591859 591859 Wrethe, Philip, of St Mary Stronde, yeoman 0
3981401 2018116 2018116 defendant Vynsent Thomas vintner 591859 591859 Vynsent, Thomas, of St Mary Stronde, vintner 1
3981402 2018116 2018116 defendant Lovell Henry bricklater 592640 592640 Lovell, Henry, of St Mary Strond, bricklater 2
3981403 2018116 2018116 defendant Hayne Edward shoemaker 592640 592640 Hayne, Edward, of St Mary Strond, shoemaker 3
3981404 2018116 2018116 defendant Bowe Margaret spinster 592640 592640 Bowe, Margaret, of St Mary Strond, spinster 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 17.748ms