home / cp40x

names

6 rows where case_id = 2398609

✎ 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
5141429 2398609 2398609 plaintiff Vane John     Vane, John 0
5141430 2398609 2398609 defendant Brateyn Henry husbandman 844312 844312 Brateyn, Henry, of Alvele, Essex, husbandman 0
5141431 2398609 2398609 defendant Gest Robert husbandman 776770 776770 Gest, Robert, of Erythe, husbandman 1
5141432 2398609 2398609 defendant Hobbel Lawrence husbandman 850437 850437 Hobbel, Lawrence, of Chaldwell, Essex, husbandman 2
5141433 2398609 2398609 defendant Lorchyn John husbandman 840357 840357 Lorchyn, John, of Greystorrok, Essex, husbandman 3
5141434 2398609 2398609 defendant Waryn John husbandman 586461 586461 Waryn, John, of Mepeham,, husbandman 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.339ms