home / cp40x

names

8 rows where case_id = 2455926

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5336303 2455926 2455926 plaintiff Hannys John (legal representative) 588667 588667 Hannys, John, of Stratford on Avon, merchant, executors of 0
5336304 2455926 2455926 plaintiff Clopton Thomas     (Clopton, Thomas 1
5336305 2455926 2455926 plaintiff Heyrowe William   586848 586848 Heyrowe, William, of Northampton 2
5336306 2455926 2455926 defendant Wattes John husbandman 874848 874848 Wattes, John, of Berby, Nhants, husbandman 0
5336307 2455926 2455926 defendant Wattes William husbandman 874849 874849 Wattes, William, of Berby, husbandman 1
5336308 2455926 2455926 defendant Brokhole William husbandman 586022 586022 Brokhole, William, of Lutterworth, Leics, husbandman 2
5336309 2455926 2455926 defendant Glen John smith 596535 596535 Glen, John, of Lutterworth, smith 3
5336310 2455926 2455926 defendant Bulle William butcher 596535 596535 Bulle, William, of Lutterworth, 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 16.911ms