home / cp40x

names

6 rows where case_id = 2427584

✎ 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
5241053 2427584 2427584 plaintiff Lane John, senior ironmonger 585869 585869 Lane, John, senior, of London, ironmonger 0
5241054 2427584 2427584 defendant Shelsho William husbandman 597735 597735 Shelsho, William, of Wynge, Bucks, husbandman 0
5241055 2427584 2427584 defendant Flatbury William husbandman 863156 863156 Flatbury, William, of Bikelyswad, Beds, husbandman 1
5241056 2427584 2427584 defendant Wodeward John haberdasher 585869 585869 Wodeward, John, of London, haberdasher 2
5241057 2427584 2427584 defendant Grymesby John fuller 860871 860871 Grymesby, John, of Bykelyswad, fuller 3
5241058 2427584 2427584 defendant Byllyng John husbandman 587015 587015 Byllyng, John, of St Albans, 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 15.204ms