home / cp40x

names

9 rows where case_id = 2228731

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4591592 2228731 2228731 plaintiff More John mercer 585869 585869 More, John, of London, mercer 0
4591593 2228731 2228731 defendant Dacre Thomas esq   Dacre, Thomas, esq 0
4591594 2228731 2228731 defendant Woleton Thomas     Woleton, Thomas 1
4591595 2228731 2228731 defendant Gayton John   772660 772660 Gayton, John, of Bilborowe, Notts 2
4591596 2228731 2228731 defendant Boney Richard   586901 586901 Boney, Richard, of Nottingham 3
4591597 2228731 2228731 defendant Kyrton Richard   594880 594880 Kyrton, Richard, of Wynton 4
4591598 2228731 2228731 defendant Mathewe Walter (legal representative) 585869 585869 Mathewe, Walter, of London, setter, executors of 5
4591599 2228731 2228731 defendant Brian John   586859 586859 (Brian, John, of Salisbury 6
4591600 2228731 2228731 defendant Mathewe Margaret     Mathewe, Margaret 7

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 13.8ms