home / cp40x

names

4 rows where case_id = 2094202

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4196155 2094202 2094202 plaintiff Dandye Thomas     Dandye, Thomas 0
4196156 2094202 2094202 defendant Curtnall Nicholas yeoman 597854 597854 Curtnall, Nicholas, of Stowmarkett, yeoman 0
4196157 2094202 2094202 defendant Parteriche Robert gent 712901 712901 Parteriche, Robert, of Fynborrowe, gent 1
4196158 2094202 2094202 defendant Lascy or Lacy Thomas tanner 590236 590236 Lascy or Lacy, Thomas, of Earl Soham, tanner 2

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.791ms