home / cp40x

names

7 rows where place_id = 684718

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4059475 2045785 2045785 defendant Middleton John yeoman 684718 684718 Middleton, John, of Prene, yeoman 0
4059678 2045855 2045855 plaintiff Corfeld William (legal representative) 684718 684718 Corfeld, William, of Prene, yeoman, executrix of 0
4065895 2048094 2048094 defendant Mydleton John yeoman 684718 684718 Mydleton, John, of Prene, yeoman 0
4180240 2088565 2088565 defendant Midleton John husbandman 684718 684718 Midleton, John, of Prene, husbandman 0
4180241 2088565 2088565 defendant Midleton Ralph husbandman 684718 684718 Midleton, Ralph, of Prene, husbandman 1
4215849 2101042 2101042 defendant Stevens William yeoman 684718 684718 Stevens, William, of Prene, yeoman 0
4721777 2272145 2272145 defendant Stephen Richard   684718 684718 Stephen, Richard, of Prene 8

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 8.939ms