home / cp40x

names

8 rows where case_id = 2480773

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5419558 2480773 2480773 plaintiff Stevines William (legal representative) 591070 591070 Stevines, William, of Refham, clerk, executors of 0
5419559 2480773 2480773 plaintiff Cady Geoffrey   587166 587166 (Cady, Geoffrey, of Salle 1
5419560 2480773 2480773 plaintiff Stevines William     Stevines, William 2
5419561 2480773 2480773 defendant Cleye Thomas smith 871051 871051 Cleye, Thomas, of Hacford by Refham, smith 0
5419562 2480773 2480773 defendant Goodwyn John husbandman 871051 871051 Goodwyn, John, of Hacford by Refham, husbandman 1
5419563 2480773 2480773 defendant Reed Robert husbandman 885648 885648 Reed, Robert, of Qwytewell, by Refham, husbandman 2
5419564 2480773 2480773 defendant Maryck Henry tailor 593987 593987 Maryck, Henry, of Gunthorp, tailor 3
5419565 2480773 2480773 defendant Reed John laborer 884219 884219 Reed, John, of Qwytewell by Refham, laborer 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 15.269ms