home / cp40x

names

7 rows where case_id = 2380525

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5080075 2380525 2380525 plaintiff Chirche Robert     Chirche, Robert 0
5080076 2380525 2380525 defendant Brame or Braine John yeoman 609456 609456 Brame or Braine, John, of Buxlowe, yeoman 0
5080077 2380525 2380525 defendant Crosford Robert husbandman 609456 609456 Crosford, Robert, of Buxlowe, husbandman 1
5080078 2380525 2380525 defendant Watyr William carpenter 609456 609456 Watyr, William, of Buxlowe, carpenter 2
5080079 2380525 2380525 defendant Doket Clement husbandman 843998 843998 Doket, Clement, of Thorphithe, husbandman 3
5080080 2380525 2380525 defendant Martyn Seman laborer 783789 783789 Martyn, Seman, of Haselwode, laborer 4
5080081 2380525 2380525 defendant Martyn Richard laborer 783789 783789 Martyn, Richard, of Haselwode, laborer 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 53.32ms