home / cp40x

names

6 rows where case_id = 2513725

✎ 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
5529468 2513725 2513725 plaintiff Pende Thomas     Pende, Thomas 0
5529469 2513725 2513725 defendant Webbe Nicholas husbandman 896768 896768 Webbe, Nicholas, of Heddecron, husbandman 0
5529470 2513725 2513725 defendant Clerk John husbandman 692306 692306 Clerk, John, of Boughton Mounchelsey, husbandman 1
5529471 2513725 2513725 defendant Alyn John laborer 896769 896769 Alyn, John, of Harietsham, laborer 2
5529472 2513725 2513725 defendant Dreyson William husbandman 589987 589987 Dreyson, William, of Plukley, husbandman 3
5529473 2513725 2513725 defendant Park William husbandman 616773 616773 Park, William, of Chart juxta Sutton Valence, 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.805ms