home / cp40x

names

5 rows where place_id = 616750

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename

id ▼ case_id role surname forename occupation place_id raw_segment seq
3715900 1931258 1931258 plaintiff Casyngton William   616750 616750 Casyngton, William, of Botelnesdale 0
4902303 2327330 2327330 plaintiff Dasse Peter   616750 616750 Dasse, Peter, of Botelnesdale 0
4902304 2327330 2327330 defendant Porle Elias butcher 616750 616750 Porle, Elias, of Botelnesdale, butcher 0
4906933 2328750 2328750 plaintiff Tabour Edmund   616750 616750 Tabour, Edmund, of Botelnesdale 0
4978455 2350503 2350503 defendant Candeler William chapman 616750 616750 Candeler, William, of Botelnesdale, chapman 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 14.573ms