home / cp40x

names

6 rows where case_id = 1982511

✎ 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
3876884 1982511 1982511 plaintiff Harward Robert gent   Harward, Robert, gent 0
3876885 1982511 1982511 defendant Frary William husbandman 596907 596907 Frary, William, of Ludham, husbandman 0
3876886 1982511 1982511 defendant Pettett Robert husbandman 613368 613368 Pettett, Robert, of Salthouse, husbandman 1
3876887 1982511 1982511 defendant Arcall John husbandman 585960 585960 Arcall, John, of Burneham, husbandman 2
3876888 1982511 1982511 defendant Balye Thomas husbandman 643973 643973 Balye, Thomas, of Wyckemere, husbandman 3
3876889 1982511 1982511 defendant Smyth William husbandman 595870 595870 Smyth, William, of Mersham, 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 12.669ms