home / cp40x

names

7 rows where case_id = 2383013

✎ 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
5088494 2383013 2383013 plaintiff Kyng Robert     Kyng, Robert 0
5088495 2383013 2383013 defendant Sampsoner John yeoman 844994 844994 Sampsoner, John, of Wellyngbourgh, Nhants, yeoman 0
5088496 2383013 2383013 defendant Fader Walter esq 658334 658334 Fader, Walter, of North Molton, Devon, esq 1
5088497 2383013 2383013 defendant Torell William yeoman 844995 844995 Torell, William, of Mykelford, Suff, yeoman 2
5088498 2383013 2383013 defendant FitzElys Robert esq 640994 640994 FitzElys, Robert, of Waterpury, Oxon, esq 3
5088499 2383013 2383013 defendant Wylyngham William (legal representative)   Wylyngham, William, executor of 4
5088500 2383013 2383013 defendant Wylyngham Humphrey gent 737452 737452 Wylyngham, Humphrey, of Mollyngton, Oxon, gent 5

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