home / cp40x

names

8 rows where case_id = 1937147

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3734866 1937147 1937147 plaintiff Grenwey John     Grenwey, John 0
3734867 1937147 1937147 defendant Brown Thomas mariner 604882 604882 Brown, Thomas, of Pakfeld, Suff, mariner 0
3734868 1937147 1937147 defendant Aradon Stephen mariner 591328 591328 Aradon, Stephen, of Pakefeld, mariner 1
3734869 1937147 1937147 defendant Edeman Roger smith 587167 587167 Edeman, Roger, of Parva Walsyngham, smith 2
3734870 1937147 1937147 defendant Tyler John   620288 620288 Tyler, John, of Beeston in Flegge, plow wright 3
3734871 1937147 1937147 defendant Tyler Henry husbandman 620289 620289 Tyler, Henry, of Southwoll, husbandman 4
3734872 1937147 1937147 defendant Adams Thomas husbandman 591084 591084 Adams, Thomas, of Geyst, husbandman 5
3734873 1937147 1937147 defendant Norwyche Robert husbandman 587604 587604 Norwyche, Robert, of Warham, husbandman 6

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 17.99ms