home / cp40x

names

7 rows where case_id = 2226740

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4585016 2226740 2226740 plaintiff Grey Thomas grocer 585869 585869 Grey, Thomas, of London, grocer 0
4585017 2226740 2226740 defendant Asshen Elizabeth   586848 586848 Asshen, Elizabeth, of Northampton 0
4585018 2226740 2226740 defendant Mannok William     Mannok, William 1
4585019 2226740 2226740 defendant Edmond John   591511 591511 Edmond, John, of Stratford 2
4585020 2226740 2226740 defendant Swyfft John   717501 717501 Swyfft, John, of Sittingbourne 3
4585021 2226740 2226740 defendant Logger William boatman 772072 772072 Logger, William, of Croweland, boatman 4
4585022 2226740 2226740 defendant Joynour Thomas   586059 586059 Joynour, Thomas, of Ware 5

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 14.453ms