home / cp40x

names

6 rows where place_id = 682202

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4048557 2041933 2041933 plaintiff Thomas John mercer 682202 682202 Thomas, John, of Busshops Castell, mercer 0
4061797 2046617 2046617 defendant Mason Robert gent 682202 682202 Mason, Robert, of Busshops Castell, gent 2
4061798 2046617 2046617 defendant Powell Henry yeoman 682202 682202 Powell, Henry, of Busshops Castell, yeoman 3
4065965 2048118 2048118 defendant Mason William yeoman 682202 682202 Mason, William, of Busshops Castell, yeoman 2
4092546 2057642 2057642 defendant Mason Robert gent 682202 682202 Mason, Robert, of Busshops Castell, gent 0
4092550 2057643 2057643 defendant Mason Robert gent 682202 682202 Mason, Robert, of Busshops Castell, gent 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.998ms