home / cp40x

names

6 rows where case_id = 2500372

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5484780 2500372 2500372 plaintiff Nicoll William     Nicoll, William 0
5484781 2500372 2500372 defendant Chyld John husbandman 880821 880821 Chyld, John, of Codred, husbandman 0
5484782 2500372 2500372 defendant Sell John husbandman 593041 593041 Sell, John, of Magna Hadham, husbandman 1
5484783 2500372 2500372 defendant Skegge Richard husbandman 593041 593041 Skegge, Richard, of Magna Hadham, husbandman 2
5484784 2500372 2500372 defendant Whystard William husbandman 593041 593041 Whystard, William, of Magna Hadham, husbandman 3
5484785 2500372 2500372 defendant Mille William husbandman 634735 634735 Mille, William, of Widford, 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.111ms