home / cp40x

names

6 rows where case_id = 2248080

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4656996 2248080 2248080 plaintiff Chirden Robert     Chirden, Robert 0
4656997 2248080 2248080 defendant (not given) John brother of Robert Walker, walker   John brother of Robert Walker, of Newcastle on Tyne, walker 0
4656998 2248080 2248080 defendant Alder John gent 759561 759561 Alder, John, of Norham, gent 1
4656999 2248080 2248080 defendant Heworth Robert gent 604337 604337 Heworth, Robert, of Durham, gent 2
4657000 2248080 2248080 defendant Monketon John gent 607604 607604 Monketon, John, of Beryngton, gent 3
4657001 2248080 2248080 defendant Meke John husbandman 591495 591495 Meke, John, of Dodyngton, husbandman 4

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