home / cp40x

names

7 rows where case_id = 2520265

✎ 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
5550798 2520265 2520265 plaintiff Chirche Thomas bellfounder 586180 586180 Chirche, Thomas, of Bury St Edmunds, bellfounder 0
5550799 2520265 2520265 defendant Wykys John yeoman 599212 599212 Wykys, John, of Parva Cornerd, yeoman 0
5550800 2520265 2520265 defendant Prophete John yeoman 599212 599212 Prophete, John, of Parva Cornerd, yeoman 1
5550801 2520265 2520265 defendant Stowre Richard yeoman 599212 599212 Stowre, Richard, of Parva Cornerd, yeoman 2
5550802 2520265 2520265 defendant Baker Roger yeoman 599212 599212 Baker, Roger, of Parva Cornerd, yeoman 3
5550803 2520265 2520265 defendant Spencer William yeoman 599212 599212 Spencer, William, of Parva Cornerd, yeoman 4
5550804 2520265 2520265 defendant Gosselyn Thomas clerk 599212 599212 Gosselyn, Thomas, of Parva Cornerd, clerk 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.417ms