home / cp40x

names

6 rows where case_id = 2365674

✎ 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
5030093 2365674 2365674 plaintiff Payn John     Payn, John 0
5030094 2365674 2365674 defendant Webbe Thomas mariner 586259 586259 Webbe, Thomas, of Pole, mariner 0
5030095 2365674 2365674 defendant Abbot Robert merchant 595267 595267 Abbot, Robert, of Melcombe Regis, merchant 1
5030096 2365674 2365674 defendant Asche Robert pf Dorchester, husbandman   Asche, Robert, pf Dorchester, husbandman 2
5030097 2365674 2365674 defendant Martyn John merchant 611223 611223 Martyn, John, of Weymouth, merchant 3
5030098 2365674 2365674 defendant Serla John gent 611223 611223 Serla, John, of Weymouth, gent 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.982ms