home / cp40x

names

8 rows where case_id = 2484870

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5433118 2484870 2484870 plaintiff Maulyverer Halnatheus esq   Maulyverer, Halnatheus, esq 0
5433119 2484870 2484870 defendant Bulbye Richard husbandman 805244 805244 Bulbye, Richard, of Trelulla, husbandman 0
5433120 2484870 2484870 defendant Caren_ Nicholas husbandman 805244 805244 Caren_, Nicholas, of Trelulla, husbandman 1
5433121 2484870 2484870 defendant Ricard Stephen husbandman 885336 885336 Ricard, Stephen, of Fenton Adell, husbandman 2
5433122 2484870 2484870 defendant Rycheman John husbandman 885336 885336 Rycheman, John, of Fenton Adell, husbandman 3
5433123 2484870 2484870 defendant Ricard John husbandman 886998 886998 Ricard, John, of Fenton Adelle, husbandman 4
5433124 2484870 2484870 defendant Ricard William husbandman 886999 886999 Ricard, William, of Genton Adell, husbandman 5
5433125 2484870 2484870 defendant Tregawne John husbandman 885337 885337 Tregawne, John, of Hellesbury, husbandman 6

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 15.601ms