home / cp40x

names

6 rows where case_id = 2389204

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5109489 2389204 2389204 plaintiff Gay Thomas, senior tailor 585869 585869 Gay, Thomas, senior, of London, tailor 0
5109490 2389204 2389204 defendant Redford Henry   847429 847429 Redford, Henry, of Charlton Panell, Lincs, knight 0
5109491 2389204 2389204 defendant Hawys Walter prior of Fridelystoke, Devon   Hawys, Walter, prior of Fridelystoke, Devon 1
5109492 2389204 2389204 defendant Borton William carpenter 847433 847433 Borton, William, of Stepenuythe, Middx, carpenter 2
5109493 2389204 2389204 defendant Bekyngham James clerk 847434 847434 Bekyngham, James, of Borton, Shrevyngham, Berks, clerk 3
5109494 2389204 2389204 defendant Wescote Robert gent 648426 648426 Wescote, Robert, of Morestowe, Cornw, gent 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 12.797ms