home / cp40x

names

7 rows where case_id = 2486284

✎ 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
5437939 2486284 2486284 plaintiff Stemmes William (legal representative) 591070 591070 Stemmes, William, of Refham, clerk, executors of 0
5437940 2486284 2486284 plaintiff Cady Geoffrey   887458 887458 Cady, Geoffrey, of Salle, Stemmes, William 1
5437941 2486284 2486284 defendant Cleye Thomas smith 871051 871051 Cleye, Thomas, of Hacford by Refham, smith 0
5437942 2486284 2486284 defendant Goodwyn John husbandman 871051 871051 Goodwyn, John, of Hacford by Refham, husbandman 1
5437943 2486284 2486284 defendant Reed Robert husbandman 885648 885648 Reed, Robert, of Qwytewell, by Refham, husbandman 2
5437944 2486284 2486284 defendant Maryck Henry tailor 593987 593987 Maryck, Henry, of Gunthorp, tailor 3
5437945 2486284 2486284 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 7.213ms