home / cp40x

names

6 rows where case_id = 2326098

✎ 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
4898197 2326098 2326098 plaintiff Wynter John     Wynter, John 0
4898198 2326098 2326098 defendant Slape Edward cordwainer 585996 585996 Slape, Edward, of Briggewater, cordwainer 0
4898199 2326098 2326098 defendant Style Thomas laborer 669017 669017 Style, Thomas, of Hunspill, laborer 1
4898200 2326098 2326098 defendant Bury Peter husbandman 613391 613391 Bury, Peter, of Norton juxta Taunton, husbandman 2
4898201 2326098 2326098 defendant Morise Thomas husbandman 818913 818913 Morise, Thomas, of Asshebretell, husbandman 3
4898202 2326098 2326098 defendant Milton John husbandman 663041 663041 Milton, John, of Lillesdon, 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.524ms