home / cp40x

names

8 rows where case_id = 2397813

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5138691 2397813 2397813 plaintiff Ruyton John draper 586117 586117 Ruyton, John, of Coventry, draper 0
5138692 2397813 2397813 defendant Ruyton William draper 585869 585869 Ruyton, William, of London, draper 0
5138693 2397813 2397813 defendant Forest William chapman 781252 781252 Forest, William, of Derby, Derbs, chapman 1
5138694 2397813 2397813 defendant Magottes William chapman 606953 606953 Magottes, William, of Northampton, Nhants, chapman 2
5138695 2397813 2397813 defendant Copland William draper 586848 586848 Copland, William, of Northampton, draper 3
5138696 2397813 2397813 defendant Michell John draper 589302 589302 Michell, John, of Abyndon, Berks, draper 4
5138697 2397813 2397813 defendant Knolles John or York, chapman   Knolles, John, or York, chapman, executor of 5
5138698 2397813 2397813 defendant Knolles William draper 586067 586067 Knolles, William, of York, draper 6

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.67ms