home / cp40x

names

7 rows where case_id = 2521410

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5554821 2521410 2521410 plaintiff Hobart James knight   Hobart, James, knight 0
5554822 2521410 2521410 defendant Wylde Ralph smith 899543 899543 Wylde, Ralph, of Thistyworth, Middx, smith 0
5554823 2521410 2521410 defendant Hunte John yeoman 593160 593160 Hunte, John, of Dorkyng, yeoman 1
5554824 2521410 2521410 defendant Somer Henry yeoman 899544 899544 Somer, Henry, of Mekelham, yeoman 2
5554825 2521410 2521410 defendant Roke Emery yeoman 589493 589493 Roke, Emery, of Cobham, yeoman 3
5554826 2521410 2521410 defendant Leweter Edmund yeoman 589493 589493 Leweter, Edmund, of Cobham, yeoman 4
5554827 2521410 2521410 defendant Downe Thomas yeoman 589493 589493 Downe, Thomas, of Cobham, yeoman 5

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