home / cp40x

names

7 rows where case_id = 2404247

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5160772 2404247 2404247 plaintiff Spret Richard     Spret, Richard 0
5160773 2404247 2404247 defendant Dodworth William gent 614820 614820 Dodworth, William, of Lound, gent 0
5160774 2404247 2404247 defendant Cole Thomas husbandman 608098 608098 Cole, Thomas, of Lounde, husbandman 1
5160775 2404247 2404247 defendant Paweson William   760474 760474 Paweson, William, of Maunsfeld Wodehous, glove maker 2
5160776 2404247 2404247 defendant Hunter William husbandman 852493 852493 Hunter, William, of Treswell, husbandman 3
5160777 2404247 2404247 defendant Pyncheware William bulker 760474 760474 Pyncheware, William, of Maunsfeld Wodehous, bulker 4
5160778 2404247 2404247 defendant Loundy Christopher husbandman 597249 597249 Loundy, Christopher, of Parlethorp, husbandman 5

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