home / cp40x

names

4 rows where place_id = 769617

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename

id ▼ case_id role surname forename occupation place_id raw_segment seq
4560282 2219162 2219162 defendant sissotson Roger   769617 769617 sissotson, Roger, of Ald Byland 8
4561422 2219515 2219515 defendant Sissotson John   769617 769617 Sissotson, John, of Ald Byland 20
5386233 2471126 2471126 defendant Hoton John yeoman 769617 769617 Hoton, John, of Ald Byland, yeoman 0
5386234 2471126 2471126 defendant Calfe William yeoman 769617 769617 Calfe, William, of Ald Byland, yeoman 1

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