home / cp40x

names

9 rows where place_id = 603699

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3655487 1911975 1911975 plaintiff Zouche John   603699 603699 Zouche, John, of Zouche, knight 1
3686224 1921853 1921853 defendant Zouche John   603699 603699 Zouche, John, of Zouche, knight 0
3686233 1921854 1921854 defendant Zouche John   603699 603699 Zouche, John, of Zouche, knight 0
3686242 1921855 1921855 defendant Zouche John   603699 603699 Zouche, John, of Zouche, knight 0
3686251 1921856 1921856 defendant Zouche John   603699 603699 Zouche, John, of Zouche, knight 0
3686260 1921857 1921857 defendant Zouche John   603699 603699 Zouche, John, of Zouche, knight 0
3686269 1921858 1921858 defendant Zouche John   603699 603699 Zouche, John, of Zouche, knight 0
5534023 2515179 2515179 plaintiff Zouche John   603699 603699 Zouche, John, of Zouche, knight 0
5593391 2532914 2532914 plaintiff Zouche John   603699 603699 Zouche, John, of Zouche, knight 0

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