home / cp40x

names

9 rows where case_id = 2297337

✎ 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
4803681 2297337 2297337 plaintiff Beauchamp or Bello campo Richard   756754 756754 Beauchamp or Bello campo, Richard, of Warwick, Earl 0
4803682 2297337 2297337 defendant Edmond John esq 611062 611062 Edmond, John, of Craneworth, esq 0
4803683 2297337 2297337 defendant Halleyate John   804478 804478 Halleyate, John, of Great Kkerbrook, knight 1
4803684 2297337 2297337 defendant West William yeoman 776504 776504 West, William, of Great Kerbrook, yeoman 2
4803685 2297337 2297337 defendant Botiller John yeoman 776504 776504 Botiller, John, of Great Kerbrook, yeoman 3
4803686 2297337 2297337 defendant Bougeon Thomas laborer 590484 590484 Bougeon, Thomas, of Watton, laborer 4
4803687 2297337 2297337 defendant Dunyng Simon husbandman 590847 590847 Dunyng, Simon, of Saham, husbandman 5
4803688 2297337 2297337 defendant Croos Thomas   776504 776504 Croos, Thomas, of Great Kerbrook 6
4803689 2297337 2297337 defendant Just Thomas laborer 590847 590847 Just, Thomas, of Saham, laborer 7

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.077ms