home / cp40x

names

5 rows where case_id = 2483284

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5427851 2483284 2483284 plaintiff Fairfax Guy knight   Fairfax, Guy, knight 0
5427852 2483284 2483284 defendant Stokes Robert esq 617492 617492 Stokes, Robert, of Bykerton, esq 0
5427853 2483284 2483284 defendant Crathorn Ralph   768649 768649 Crathorn, Ralph, of Crathorn, knight 1
5427854 2483284 2483284 defendant Wylson Robert yeoman 886482 886482 Wylson, Robert, of North Dygham, Yorks, yeoman 2
5427855 2483284 2483284 defendant Hoton Thomas yeoman 886483 886483 Hoton, Thomas, of Lynton by Wederby or Wetherby, Yorks, yeoman 3

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