home / cp40x

names

8 rows where case_id = 2516525

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5538502 2516525 2516525 plaintiff Estan John vicar of Est Riston   Estan, John, vicar of Est Riston, executors of 0
5538503 2516525 2516525 plaintiff Pawe Andrew     (Pawe, Andrew 1
5538504 2516525 2516525 plaintiff Glaunvyle Thomas     Glaunvyle, Thomas 2
5538505 2516525 2516525 defendant Cook Gregory yeoman 587059 587059 Cook, Gregory, of Stalham, yeoman 0
5538506 2516525 2516525 defendant Pykman alias Pnteney John raffman 585936 585936 Pykman alias Pnteney, John, of Norwich, raffman 1
5538507 2516525 2516525 defendant Ecclys John gent 590405 590405 Ecclys, John, of Martham, gent 2
5538508 2516525 2516525 defendant Wyld John   585936 585936 Wyld, John, of Norwich, worsted weaver 3
5538509 2516525 2516525 defendant Grene John yeoman 588357 588357 Grene, John, of Heygham, 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 23.18ms