home / cp40x

names

6 rows where case_id = 2386564

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5100422 2386564 2386564 plaintiff Yonge Thomas     Yonge, Thomas 0
5100423 2386564 2386564 defendant Meryell William husbandman 846378 846378 Meryell, William, of Flevord, Worcs, husbandman 0
5100424 2386564 2386564 defendant Frenssh William husbandman 845824 845824 Frenssh, William, of Flevord, husbandman 1
5100425 2386564 2386564 defendant Welston Richard husbandman 846379 846379 Welston, Richard, of Worcester St John Baptist, husbandman 2
5100426 2386564 2386564 defendant Garde Richard husbandman 632650 632650 Garde, Richard, of Ryppyll, Worcs, husbandman 3
5100427 2386564 2386564 defendant Rotour Thomas clerk 845824 845824 Rotour, Thomas, of Flevord, clerk 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 13.499ms