home / cp40x

names

10 rows where case_id = 2239015

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4625752 2239015 2239015 plaintiff Perpount Edmund knight   Perpount, Edmund, knight 0
4625753 2239015 2239015 defendant Colynson Robert   693782 693782 Colynson, Robert, of North Anston 0
4625754 2239015 2239015 defendant Smyth John   693782 693782 Smyth, John, of North Anston 1
4625755 2239015 2239015 defendant Wynehill John     Wynehill, John 2
4625756 2239015 2239015 defendant Smyth Edmund   693782 693782 Smyth, Edmund, of North Anston 3
4625757 2239015 2239015 defendant Charles John     Charles, John 4
4625758 2239015 2239015 defendant Heschole Robert     Heschole, Robert 5
4625759 2239015 2239015 defendant Wryght John   693782 693782 Wryght, John, of North Anston 6
4625760 2239015 2239015 defendant Cartewright William   693782 693782 Cartewright, William, of North Anston 7
4625761 2239015 2239015 defendant Ayre John     Ayre, John 8

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