home / cp40x

names

6 rows where case_id = 2519415

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5547908 2519415 2519415 plaintiff A Dene Henry     A Dene, Henry 0
5547909 2519415 2519415 defendant Hyll Thomas butcher 633723 633723 Hyll, Thomas, of Tame, butcher 0
5547910 2519415 2519415 defendant Bartylmewe William butcher 633723 633723 Bartylmewe, William, of Tame, butcher 1
5547911 2519415 2519415 defendant Tayllour JKohn butcher 587336 587336 Tayllour, JKohn, of Henley on Thames, butcher 2
5547912 2519415 2519415 defendant Cryse John butcher 898769 898769 Cryse, John, of Thames, butcher 3
5547913 2519415 2519415 defendant Haydok Robert butcher 587336 587336 Haydok, Robert, of Henley on Thames, butcher 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.9ms