home / cp40x

names

8 rows where case_id = 2549042

✎ 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
5616744 2549042 2549042 plaintiff Hyperom John de     Hyperom, John de 0
5616745 2549042 2549042 plaintiff Hyperom Emma     Emma, his wife 1
5616746 2549042 2549042 defendant Methelay Richard de   603083 603083 Methelay, Richard de, of Wragby 0
5616747 2549042 2549042 defendant Methelay Alice     Alice, his wife 1
5616748 2549042 2549042 defendant Brystall John de     Brystall, John de 2
5616749 2549042 2549042 defendant Brystall Gillian     Gillian, his wife 3
5616750 2549042 2549042 defendant Hallegh John     Hallegh, John 4
5616751 2549042 2549042 defendant Hallegh Joan     Joan, his wife 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 15.743ms