home / cp40x

names

6 rows where case_id = 2501627

✎ 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
5489108 2501627 2501627 plaintiff Adams John     Adams, John 0
5489109 2501627 2501627 defendant Barnak Lawrence yeoman 587777 587777 Barnak, Lawrence, of New Alresford, yeoman 0
5489110 2501627 2501627 defendant Dogger William yeoman 586207 586207 Dogger, William, of Basyngstoke, yeoman 1
5489111 2501627 2501627 defendant Batell William dyer 585951 585951 Batell, William, of Winchester, dyer 2
5489112 2501627 2501627 defendant Spyre Ingelram yeoman 885508 885508 Spyre, Ingelram, of Shirbourn St John, yeoman 3
5489113 2501627 2501627 defendant Stonetroute or Stonetronte Stephen husbandman 586119 586119 Stonetroute or Stonetronte, Stephen, of Romsey, husbandman 4

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 9.57ms