home / cp40x

names

8 rows where case_id = 2448460

✎ 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
5311474 2448460 2448460 plaintiff Wylloughby John knight   Wylloughby, John, knight 0
5311475 2448460 2448460 defendant Touker John, sen husbandman 871987 871987 Touker, John, sen, of Melborne Port, husbandman 0
5311476 2448460 2448460 defendant Touker Nicholas, sen   871988 871988 Touker, Nicholas, sen, of Melborne Port, Soms, groom 1
5311477 2448460 2448460 defendant Touker Thomas   871987 871987 Touker, Thomas, of Melborne Port, groom 2
5311478 2448460 2448460 defendant Mathewe John tanner 871987 871987 Mathewe, John, of Melborne Port, tanner 3
5311479 2448460 2448460 defendant Rope John tanner 590288 590288 Rope, John, of Melborne, tanner 4
5311480 2448460 2448460 defendant Touker William husbandman 871990 871990 Touker, William, of Wyke in Melborne Port, husbandman 5
5311481 2448460 2448460 defendant Broun John chaplain 871929 871929 Broun, John, of Oborne, Soms, chaplain 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 7.134ms