home / cp40x

names

6 rows where case_id = 1956361

✎ 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
3795183 1956361 1956361 plaintiff Coppyng John rector of Burgate   Coppyng, John, rector of Burgate 0
3795184 1956361 1956361 defendant Sefferey William husbandman 596021 596021 Sefferey, William, of Bardewell, husbandman 0
3795185 1956361 1956361 defendant Marshall William fuller 586912 586912 Marshall, William, of Melford, fuller 1
3795186 1956361 1956361 defendant Maykyn William husbandman 589649 589649 Maykyn, William, of Lyston, Essex, husbandman 2
3795187 1956361 1956361 defendant Hawke William husbandman 598090 598090 Hawke, William, of Hunston, husbandman 3
3795188 1956361 1956361 defendant Symond John husbandman 608213 608213 Symond, John, of Fenyngham, 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 14.211ms