home / cp40x

names

6 rows where case_id = 2318023

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4871405 2318023 2318023 plaintiff Middilton William     Middilton, William 0
4871406 2318023 2318023 defendant Notte Richard yeoman 586941 586941 Notte, Richard, of Boxford, yeoman 0
4871407 2318023 2318023 defendant Neell John, senior yeoman 586941 586941 Neell, John, senior, of Boxford, yeoman 1
4871408 2318023 2318023 defendant Neell John, junior yeoman 586941 586941 Neell, John, junior, of Boxford, yeoman 2
4871409 2318023 2318023 defendant Sheldrake John yeoman 595932 595932 Sheldrake, John, of Waldyngfeld, yeoman 3
4871410 2318023 2318023 defendant Godson John yeoman 599798 599798 Godson, John, of Hyntlesham, yeoman 4

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