home / cp40x

names

5 rows where place_id = 695074

✎ 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
4107629 2063010 2063010 defendant Pyrrie William husbandman 695074 695074 Pyrrie, William, of Pyriton, husbandman 0
4107630 2063010 2063010 defendant Pyrrie John husbandman 695074 695074 Pyrrie, John, of Pyriton, husbandman 1
4107631 2063010 2063010 defendant Poole John husbandman 695074 695074 Poole, John, of Pyriton, husbandman 2
4417543 2170374 2170374 plaintiff Smyth Richard le   695074 695074 Smyth, Richard le, of Pyriton 0
4753660 2281517 2281517 defendant Ude John fisher 695074 695074 Ude, John, of Pyriton, fisher 0

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.983ms