home / cp40x

names

6 rows where case_id = 2436613

✎ 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
5270991 2436613 2436613 plaintiff Forde Richard     Forde, Richard 0
5270992 2436613 2436613 plaintiff Fryce John     Fryce, John 1
5270993 2436613 2436613 defendant Twesyll John gent 866716 866716 Twesyll, John, of Kyngys Staunley, Gloucs, gent 0
5270994 2436613 2436613 defendant Bremylham John gent 866717 866717 Bremylham, John, of Brokynbrough, Wilts, gent 1
5270995 2436613 2436613 defendant Bray (illegible)   589302 589302 Bray, ----, of Abyndon, Berks, tallow chandler 2
5270996 2436613 2436613 defendant Bryce John baker 634602 634602 Bryce, John, of Malmysbury, baker 3

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