home / cp40x

names

6 rows where case_id = 2535587

✎ 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
5602197 2535587 2535587 plaintiff Maplesden John     Maplesden, John 0
5602198 2535587 2535587 defendant Harte Arnold yeoman 588388 588388 Harte, Arnold, of Boxley, yeoman 0
5602199 2535587 2535587 defendant Edynden Thomas butcher 598067 598067 Edynden, Thomas, of Holyngborne, butcher 1
5602200 2535587 2535587 defendant Coke Richard husbandman 767549 767549 Coke, Richard, of Stalesfeld, husbandman 2
5602201 2535587 2535587 defendant Rolf Richard husbandman 598161 598161 Rolf, Richard, of Clyffe, husbandman 3
5602202 2535587 2535587 defendant Broun Richard husbandman 598161 598161 Broun, Richard, of Clyffe, husbandman 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 16.396ms