home / cp40x

names

7 rows where case_id = 2022925

✎ 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
3994890 2022925 2022925 plaintiff Cooke John gent 652925 652925 Cooke, John, of Rochford, Essex, or of New Inn without Temple Bar, gent 0
3994891 2022925 2022925 defendant Kyrton Francis esq 669896 669896 Kyrton, Francis, of Farringdon, Hants, esq 0
3994892 2022925 2022925 defendant Noble Richard yeoman 592214 592214 Noble, Richard, of Rocheford, yeoman 1
3994893 2022925 2022925 defendant Haward Nicholas gent 585869 585869 Haward, Nicholas, of London, or of Thavys Inn, Holborne, gent 2
3994894 2022925 2022925 defendant Smyth Nicholas gent 669898 669898 Smyth, Nicholas, of Ryvenhall, Essex, gent 3
3994895 2022925 2022925 defendant Potter John yeoman 669899 669899 Potter, John, of Erles Colne, Essex, yeoman 4
3994896 2022925 2022925 defendant Enewes or Innewes Richard yeoman 612607 612607 Enewes or Innewes, Richard, of Erles Colne, yeoman 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 14.431ms