home / cp40x

names

8 rows where case_id = 2423819

✎ 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
5228077 2423819 2423819 plaintiff Vernon William knight   Vernon, William, knight 0
5228078 2423819 2423819 defendant Bankewell Richard yeoman 773890 773890 Bankewell, Richard, of Haselbache,yeoman 0
5228079 2423819 2423819 defendant Stranley or Strauley John Haselbache, gent   Stranley or Strauley, John, Haselbache, gent 1
5228080 2423819 2423819 defendant Hill Elias yeoman 861677 861677 Hill, Elias, of Huklawe, yeoman 2
5228081 2423819 2423819 defendant Hill Nicholas husbandman 861677 861677 Hill, Nicholas, of Huklawe, husbandman 3
5228082 2423819 2423819 defendant Barker Robert yeoman 592947 592947 Barker, Robert, of Abney, yeoman 4
5228083 2423819 2423819 defendant Bagshawe Robert yeoman 592947 592947 Bagshawe, Robert, of Abney, yeoman 5
5228084 2423819 2423819 defendant Hall Thomas yeoman 592730 592730 Hall, Thomas, of Bradwell, yeoman 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 14.326ms