home / cp40x

names

8 rows where case_id = 2531728

✎ 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
5589537 2531728 2531728 plaintiff Rolff John     Rolff, John 0
5589538 2531728 2531728 defendant Strutte William fuller 600868 600868 Strutte, William, of Keldon, fuller 0
5589539 2531728 2531728 defendant Marler Stephen yeoman 600868 600868 Marler, Stephen, of Keldon, yeoman 1
5589540 2531728 2531728 defendant Barker John laborer 600868 600868 Barker, John, of Keldon, laborer 2
5589541 2531728 2531728 defendant Barbour Stephen butcher 600868 600868 Barbour, Stephen, of Keldon, butcher 3
5589542 2531728 2531728 defendant Cheseman William laborer 600868 600868 Cheseman, William, of Keldon, laborer 4
5589543 2531728 2531728 defendant Sponer John laborer 600868 600868 Sponer, John, of Keldon, laborer 5
5589544 2531728 2531728 defendant Becham John tailor 600868 600868 Becham, John, of Keldon, tailor 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 14.161ms