home / cp40x

names

6 rows where case_id = 2361909

✎ 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
5017131 2361909 2361909 plaintiff Catworth Thomas     Catworth, Thomas 0
5017132 2361909 2361909 defendant Sypson alias Taillour alias Fyssher John husbandman 589070 589070 Sypson alias Taillour alias Fyssher, John, of Bykeleswade, Beds, husbandman 0
5017133 2361909 2361909 defendant Bays John butcher 599134 599134 Bays, John, of Huchyn, butcher 1
5017134 2361909 2361909 defendant Smyth John husbandman 587532 587532 Smyth John, of Asshewell, husbandman 2
5017135 2361909 2361909 defendant Denyas or Devyas Robert bitcher 835630 835630 Denyas or Devyas, Robert, of Glewenham, Beds, bitcher 3
5017136 2361909 2361909 defendant Borre William chandler 591590 591590 Borre, William, of Shefford, Beds, chandler 4

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