home / cp40x

names

7 rows where case_id = 1871929

✎ 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
3613685 1871929 1871929 plaintiff Beell Thomas (legal representative) 585925 585925 Beell, Thomas, of Bristol, executors of 0
3613686 1871929 1871929 plaintiff Morys John     (Morys, John 1
3613687 1871929 1871929 defendant Motyn Ralph (legal representative)   Motyn, Ralph, executors of 0
3613688 1871929 1871929 defendant Wawton Philip merchant 585925 585925 (Wawton, Philip, of Bristol, merchant 1
3613689 1871929 1871929 defendant Habyrden Peter merchant 585925 585925 Habyrden, Peter, of Bristol, merchant 2
3613690 1871929 1871929 defendant Peryn John clothman 589308 589308 Peryn, John, of Wolwade, Soms, clothman 3
3613691 1871929 1871929 defendant Hereford John smith 593871 593871 Hereford, John, of Newbery, Berks, smith 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.862ms