home / cp40x

names

5 rows where case_id = 2528943

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5580368 2528943 2528943 plaintiff Byrde Edward     Byrde, Edward 0
5580369 2528943 2528943 defendant Whytyng Richard husbandman 837536 837536 Whytyng, Richard, of Kertelynge, Cams, husbandman 0
5580370 2528943 2528943 defendant Jerveys John   617724 617724 Jerveys, John, of Magna Thurlowe, shepherd 1
5580371 2528943 2528943 defendant Gale William butcher 617723 617723 Gale, William, of Parva Thurlowe, butcher 2
5580372 2528943 2528943 defendant Borell James husbandman 597352 597352 Borell, James, of Wrydlyngton, husbandman 3

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.772ms