home / cp40x

names

7 rows where case_id = 2243043

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4639418 2243043 2243043 plaintiff Conyngston Richard clerk & canon of the collegiate church of the BM 597387 597387 Conyngston, Richard, of Southwell, master, clerk & canon of the collegiate church of the BM 0
4639419 2243043 2243043 defendant Kelm Robert   589865 589865 Kelm, Robert, of Newark 0
4639420 2243043 2243043 defendant Clerk William   753748 753748 Clerk, William, of Roldeston 1
4639421 2243043 2243043 defendant Clerk William   776943 776943 Clerk, William, of Rodeston 2
4639422 2243043 2243043 defendant Kyrkby Henry de   586539 586539 Kyrkby, Henry de, of Suthwell 3
4639423 2243043 2243043 defendant Botall Roger clerk 586901 586901 Botall, Roger, of Nottingham, clerk 4
4639424 2243043 2243043 defendant Dalby Ralph de   776943 776943 Dalby, Ralph de, of Rodeston, vicar 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 14.935ms