home / cp40x

names

6 rows where case_id = 2294361

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4794305 2294361 2294361 plaintiff Plomtre John     Plomtre, John 0
4794306 2294361 2294361 defendant Waghen Simon mercer 586067 586067 Waghen, Simon, of York, mercer 0
4794307 2294361 2294361 defendant Danby William mercer 586067 586067 Danby, William, of York, mercer 1
4794308 2294361 2294361 defendant Danyell Ralph butcher 591261 591261 Danyell, Ralph, of Tamworth, Staffs, butcher 2
4794309 2294361 2294361 defendant Colle Hugh   597969 597969 Colle, Hugh, of Thurgarton, wright 3
4794310 2294361 2294361 defendant Danyell John butcher 586901 586901 Danyell, John, of Nottingham, butcher 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.537ms