home / cp40x

names

8 rows where case_id = 2418430

✎ 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
5209223 2418430 2418430 plaintiff Ruyton John draper 586117 586117 Ruyton, John, of Coventry, draper 0
5209224 2418430 2418430 defendant Ruyton William draper 585869 585869 Ruyton, William, of London, draper 0
5209225 2418430 2418430 defendant Forest William chapman 781252 781252 Forest, William, of Derby, Derbs, chapman 1
5209226 2418430 2418430 defendant Magottes William chapman 606953 606953 Magottes, William, of Northampton, Nhants, chapman 2
5209227 2418430 2418430 defendant Copland William draper 586848 586848 Copland, William, of Northampton, draper 3
5209228 2418430 2418430 defendant Mychell John draper 589302 589302 Mychell, John, of Abyndon, Berks, draper 4
5209229 2418430 2418430 defendant Knolles John (legal representative) 586067 586067 Knolles, John, of York, chapman, executor of 5
5209230 2418430 2418430 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 15.221ms