home / cp40x

names

6 rows where case_id = 2298501

✎ 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
4807366 2298501 2298501 plaintiff Cobham Reginald     Cobham, Reginald 0
4807367 2298501 2298501 defendant Porter Robert yeoman 805137 805137 Porter, Robert, of Shelford Abbay, yeoman 0
4807368 2298501 2298501 defendant Berre Robert yeoman 805137 805137 Berre, Robert, of Shelford Abbay, yeoman 1
4807369 2298501 2298501 defendant Freman John chaplain 792976 792976 Freman, John, of Ratclyf on Trent, chaplain 2
4807370 2298501 2298501 defendant Treman Richard husbandman 586183 586183 Treman, Richard, of Broghton, husbandman 3
4807371 2298501 2298501 defendant Wryght Thomas clerk 792976 792976 Wryght, Thomas, of Ratclyf on Trent, clerk 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.21ms