home / cp40x

names

6 rows where case_id = 1870273

✎ 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
3608357 1870273 1870273 plaintiff Tabbe Agnes widow   Tabbe, Agnes, widow 0
3608358 1870273 1870273 defendant Palmer Hugh tailor 586179 586179 Palmer, Hugh, of Croydon, Surrey, tailor 0
3608359 1870273 1870273 defendant Berde John weaver 585929 585929 Berde, John, of St Clement Danes, weaver 1
3608360 1870273 1870273 defendant Grafton Henry barber 586487 586487 Grafton, Henry, of Suthwerk, barber 2
3608361 1870273 1870273 defendant Hodell John (legal representative) 595807 595807 Hodell, John, of Busshey, laborer, Ruffyngton, Robert, executors of 3
3608362 1870273 1870273 defendant Gwyn Robert sherman 592640 592640 (Gwyn, Robert, of St Mary Strond, sherman 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.346ms