home / cp40x

names

10 rows where case_id = 2227102

✎ 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
4586179 2227102 2227102 plaintiff Henryson William   758514 758514 Henryson, William, of Newesom 0
4586180 2227102 2227102 defendant Randolf John     Randolf, John 0
4586181 2227102 2227102 defendant Smythson William     Smythson, William 1
4586182 2227102 2227102 defendant Donbyggyng Robert     Donbyggyng, Robert 2
4586183 2227102 2227102 defendant Gansehill Adam     Gansehill, Adam 3
4586184 2227102 2227102 defendant Dande John     Dande, John 4
4586185 2227102 2227102 defendant Brygnall Adam     Brygnall, Adam 5
4586186 2227102 2227102 defendant Ganshill Robert, sen     Ganshill, Robert, sen 6
4586187 2227102 2227102 defendant Fenton John     Fenton, John 7
4586188 2227102 2227102 defendant Dande William     Dande, William 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 14.301ms