home / cp40x

names

6 rows where case_id = 2249247

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4660938 2249247 2249247 plaintiff Dounham Richard     Dounham, Richard 0
4660939 2249247 2249247 defendant Bakere John baker 586656 586656 Bakere, John, of Coggeshale, baker 0
4660940 2249247 2249247 defendant Cook John butcher 586656 586656 Cook, John, of Coggeshale, butcher 1
4660941 2249247 2249247 defendant Lynton John yeoman 753386 753386 Lynton, John, of Branketre, yeoman 2
4660942 2249247 2249247 defendant Gravele John carter 759202 759202 Gravele, John, of Felstede, carter 3
4660943 2249247 2249247 defendant Chaloner Richard chaloner or blanket maker 753386 753386 Chaloner, Richard, of Branketre, chaloner or blanket maker 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 12.623ms