home / cp40x

names

5 rows where case_id = 2307695

✎ 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
4837606 2307695 2307695 plaintiff Freman Thomas merchant 586859 586859 Freman, Thomas, of Salisbury, merchant 0
4837607 2307695 2307695 defendant Catekyn Stephen merchant 586859 586859 Catekyn, Stephen, of Salisbury, merchant 0
4837608 2307695 2307695 defendant Gyffard John merchant 601889 601889 Gyffard, John, of Ipswich, Suff, merchant 1
4837609 2307695 2307695 defendant Daunebury John draper 654876 654876 Daunebury, John, of Southampton, Hants, draper 2
4837610 2307695 2307695 defendant Brighlede Thomas mariner 810427 810427 Brighlede, Thomas, of Fakenham, Suff, mariner 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.006ms