home / cp40x

names

7 rows where case_id = 2195535

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4483523 2195535 2195535 plaintiff (not given) Henry bishop of Norwich   Norwich, Henry, bishop of 0
4483524 2195535 2195535 defendant (not given) William vicar of Hakoun 619404 619404 Hakoun, William, of Cantley, son of Robert, formerly vicar of St Andrew, in Ilketeshale, Norwich diocese 0
4483525 2195535 2195535 defendant Dykeman John   757201 757201 Dykeman, John, of Floketon, formerly parson, Norwich diocese 1
4483526 2195535 2195535 defendant Cookes John   761983 761983 Cookes, John, of Alvytherles, London diocese, vicar 2
4483527 2195535 2195535 defendant Hethe John   757733 757733 Hethe, John, of Reyndon 3
4483528 2195535 2195535 defendant Normyngton Roland   586372 586372 Normyngton, Roland, of Billerica 4
4483529 2195535 2195535 defendant Lye Robert   592770 592770 Lye, Robert, of Eynesford 5

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