home / cp40x

names

6 rows where case_id = 2248573

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4658621 2248573 2248573 plaintiff Cristendon Robert draper 585869 585869 Cristendon, Robert, of London, draper 0
4658622 2248573 2248573 defendant Fitz Johan John   607861 607861 Fitz Johan, John, of Sheryngton, Bucks, franklin 0
4658623 2248573 2248573 defendant Boteler John hosteler 779039 779039 Boteler, John, of Cetyngbourne, Kent, hosteler 1
4658624 2248573 2248573 defendant Stodeley Thomas   586067 586067 Stodeley, Thomas, of York, cook 2
4658625 2248573 2248573 defendant Holm Robert woolman 588098 588098 Holm, Robert, of Newark, Notts, woolman 3
4658626 2248573 2248573 defendant Morton Robert esq 599034 599034 Morton, Robert, of Bawtre, Yorks, esq 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.684ms