home / cp40x

names

6 rows where case_id = 2218180

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4557178 2218180 2218180 plaintiff Kirnyngton Richard     Kirnyngton, Richard 0
4557179 2218180 2218180 defendant Henker William   598487 598487 Henker, William, of Marum 0
4557180 2218180 2218180 defendant Pynder William   598487 598487 Pynder, William, of Marum 1
4557181 2218180 2218180 defendant Coke John   769323 769323 Coke, John, of Brokelesby 2
4557182 2218180 2218180 defendant Serieant Richard   769324 769324 Serieant, Richard, of Cadesby by Beseby 3
4557183 2218180 2218180 defendant Overay Richard tailor 586846 586846 Overay, Richard, of Lincoln, tailor 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 22.118ms