home / cp40x

names

8 rows where case_id = 2043504

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4052986 2043504 2043504 plaintiff Alleyn Thomas   600015 600015 Alleyn, Thomas, of North Reppes, gent, attorney of the bench 0
4052987 2043504 2043504 defendant Pygott William gent 586470 586470 Pygott, William, of Colchester, gent 0
4052988 2043504 2043504 defendant Curdy Robert chapman 617579 617579 Curdy, Robert, of Chesterton, Cams, chapman 1
4052989 2043504 2043504 defendant Clerke Nicholas chapman 589100 589100 Clerke, Nicholas, of Chesterton, chapman 2
4052990 2043504 2043504 defendant Cacker William fishmonger 588081 588081 Cacker, William, of Cambridge, fishmonger 3
4052991 2043504 2043504 defendant Sergeson or Sergeantson John glover 588081 588081 Sergeson or Sergeantson, John, of Cambridge, glover 4
4052992 2043504 2043504 defendant Fryer John yeoman 683227 683227 Fryer, John, of Warsall, Yorks, yeoman 5
4052993 2043504 2043504 defendant Ryvers John clerk 588930 588930 Ryvers, John, of Honyng, clerk 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 7.936ms