home / cp40x

names

8 rows where case_id = 2226007

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4582629 2226007 2226007 plaintiff Fastolf Hugh     Fastolf, Hugh 0
4582630 2226007 2226007 defendant Burghard Robert   586134 586134 Burghard, Robert, of Ipswich 0
4582631 2226007 2226007 defendant Edward William   586134 586134 Edward, William, of Ipswich, mason 1
4582632 2226007 2226007 defendant Gounfeld Walter   627376 627376 Gounfeld, Walter, of Naketon 2
4582633 2226007 2226007 defendant Gounfeld John   627376 627376 Gounfeld, John, of Naketon 3
4582634 2226007 2226007 defendant Austyn Roger   627376 627376 Austyn, Roger, of Naketon 4
4582635 2226007 2226007 defendant Hall William weaver   Hall, William, weaver 5
4582636 2226007 2226007 defendant Smyth Roger   627376 627376 Smyth, Roger, of Naketon 6

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