home / cp40x

names

6 rows where case_id = 2444019

✎ 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
5296687 2444019 2444019 plaintiff Wodye John, senior     Wodye, John, senior 0
5296688 2444019 2444019 defendant Hever Thomas laborer 611504 611504 Hever, Thomas, of Westerham, Kent, laborer 0
5296689 2444019 2444019 defendant Geffray John butcher 592515 592515 Geffray, John, of Crawele, butcher 1
5296690 2444019 2444019 defendant Langton John yeoman 609546 609546 Langton, John, of Glynd, yeoman 2
5296691 2444019 2444019 defendant Boteler John weaver 753382 753382 Boteler, John, of Est Grenestede, weaver 3
5296692 2444019 2444019 defendant Pykkombe John laborer 866225 866225 Pykkombe, John, of Shirmanbury, laborer 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 8.175ms