home / cp40x

names

8 rows where case_id = 1870220

✎ 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
3608190 1870220 1870220 plaintiff Stephenson Reginald (legal representative) 592589 592589 Stephenson, Reginald, of Hordon, executors of 0
3608191 1870220 1870220 plaintiff Lathum Robert   592590 592590 (Lathum, Robert, of North Wokyndon 1
3608192 1870220 1870220 plaintiff Chapman John   592591 592591 Chapman, John, of Bulwan 2
3608193 1870220 1870220 defendant Awdele Thomas woolman 586372 586372 Awdele, Thomas, of Billerica, woolman 0
3608194 1870220 1870220 defendant Chaundeler William husbandman 592592 592592 Chaundeler, William, of South Wokyndon, husbandman 1
3608195 1870220 1870220 defendant Cukhook Robert butcher 586372 586372 Cukhook, Robert, of Billerica, butcher 2
3608196 1870220 1870220 defendant Grene Robert butcher 591721 591721 Grene, Robert, of Alvetheley, butcher 3
3608197 1870220 1870220 defendant Hacche John butcher 586372 586372 Hacche, John, of Billerica, butcher 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.315ms