home / cp40x

names

8 rows where case_id = 2411357

✎ 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
5185003 2411357 2411357 plaintiff Fereby John     Fereby, John 0
5185004 2411357 2411357 defendant Paythorn Richard smith 602043 602043 Paythorn, Richard, of Hoveden, smith 0
5185005 2411357 2411357 defendant Sadyler Thomas sadler 602043 602043 Sadyler, Thomas, of Hoveden, sadler 1
5185006 2411357 2411357 defendant Ferror William smith 602043 602043 Ferror, William, of Hoveden, smith 2
5185007 2411357 2411357 defendant Ryng John shoemaker 602043 602043 Ryng, John, of Hoveden, shoemaker 3
5185008 2411357 2411357 defendant Ryng John butcher 602043 602043 Ryng, John, of Hoveden, butcher 4
5185009 2411357 2411357 defendant Huson Thomas shoemaker 602043 602043 Huson, Thomas, of Hoveden, shoemaker 5
5185010 2411357 2411357 defendant Stokdale Ralph yeoman 857115 857115 Stokdale, Ralph, of Hyth, yeoman 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 7.618ms