home / cp40x

names

6 rows where case_id = 2247058

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4653607 2247058 2247058 plaintiff Benet Thomas     Benet, Thomas 0
4653608 2247058 2247058 defendant Barbour Walter yeoman 598213 598213 Barbour, Walter, of Walsyngham, yeoman 0
4653609 2247058 2247058 defendant Rothe or Roche Walter yeoman 778384 778384 Rothe or Roche, Walter, of Beklys, Suff, yeoman 1
4653610 2247058 2247058 defendant Long William joiner 585936 585936 Long, William, of Norwich, joiner 2
4653611 2247058 2247058 defendant Archal Thomas chapman 643652 643652 Archal, Thomas, of Reston, chapman 3
4653612 2247058 2247058 defendant Spycer Thomas yeoman 589247 589247 Spycer, Thomas, of Eye, Suff, yeoman 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 16.614ms