home / cp40x

names

6 rows where case_id = 2385793

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5097830 2385793 2385793 plaintiff Tracy William esq   Tracy, William, esq 0
5097831 2385793 2385793 defendant Walker John barber 588010 588010 Walker, John, of Newent, barber 0
5097832 2385793 2385793 defendant Dymmok John husbandman 822021 822021 Dymmok, John, of Oxenhale, husbandman 1
5097833 2385793 2385793 defendant Hale James husbandman 596675 596675 Hale, James, of Kempley, husbandman 2
5097834 2385793 2385793 defendant Baldewyn John   846039 846039 Baldewyn, John, of Hetford, mason 3
5097835 2385793 2385793 defendant Baldrey Robert laborer 846040 846040 Baldrey, Robert, of Brammesbury, laborer 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 13.972ms