home / cp40x

names

5 rows where case_id = 2320210

✎ 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
4878468 2320210 2320210 plaintiff Teye John   629789 629789 Teye, John, of Barle 0
4878469 2320210 2320210 defendant Pete Richard husbandman 816329 816329 Pete, Richard, of Heyton, Essexon, husbandman 0
4878470 2320210 2320210 defendant Ferour or Smith Willism chaplain 590284 590284 Ferour or Smith, Willism, of Melburn, chaplain 1
4878471 2320210 2320210 defendant Custons John husbandman 788591 788591 Custons, John, of Berkeweye, Herts, husbandman 2
4878472 2320210 2320210 defendant Taylour John husbandman 589004 589004 Taylour, John, of Stondon, Herts, husbandman 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 14.021ms