home / cp40x

names

8 rows where case_id = 2261220

✎ 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
4686028 2261220 2261220 plaintiff Selde William     Selde, William 0
4686029 2261220 2261220 plaintiff Bredman John     Bredman, John 1
4686030 2261220 2261220 plaintiff Willes Robert   784228 784228 Willes, Robert, of Hengham, on their own account 2
4686031 2261220 2261220 defendant Pittes John carpenter 589534 589534 Pittes, John, of Depham, carpenter 0
4686032 2261220 2261220 defendant Croovour William tailor 586102 586102 Croovour, William, of Hengham, tailor 1
4686033 2261220 2261220 defendant Mason Thomas   591466 591466 Mason, Thomas, of Hakford, mason 2
4686034 2261220 2261220 defendant Rook John butcher 586365 586365 Rook John, of Wymondham, butcher 3
4686035 2261220 2261220 defendant Swan John   586102 586102 Swan, John, of Hengham, shepherd, 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 15.816ms