home / cp40x

names

11 rows where case_id = 1987973

✎ 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
3893240 1987973 1987973 plaintiff Paston William knight   Paston, William, knight 0
3893241 1987973 1987973 defendant Stoker Richard laborer 601348 601348 Stoker, Richard, of Castelacre, laborer 0
3893242 1987973 1987973 defendant Dale Geoffrey laborer 601348 601348 Dale, Geoffrey, of Castelacre, laborer 1
3893243 1987973 1987973 defendant Feltwell Andrew laborer 593814 593814 Feltwell, Andrew, of Sporle, laborer 2
3893244 1987973 1987973 defendant Case William laborer 593814 593814 Case, William, of Sporle, laborer 3
3893245 1987973 1987973 defendant Barett John husbandman 601348 601348 Barett, John, of Castelacre, husbandman 4
3893246 1987973 1987973 defendant Brown John laborer 601348 601348 Brown, John, of Castelacre, laborer 5
3893247 1987973 1987973 defendant Mendham Robert, senior laborer 593814 593814 Mendham, Robert, senior, of Sporle, laborer 6
3893248 1987973 1987973 defendant Mendham Robert, junior laborer 593814 593814 Mendham, Robert, junior, of Sporle, laborer 7
3893249 1987973 1987973 defendant Bartram John laborer 593814 593814 Bartram, John, of Sporle, laborer 8
3893250 1987973 1987973 defendant Poseley Robert laborer 593814 593814 Poseley, Robert, of Sporle, laborer 9

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