home / cp40x

names

7 rows where case_id = 2357007

✎ 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
5000469 2357007 2357007 plaintiff Lysle John knight   Lysle, John, knight 0
5000470 2357007 2357007 defendant Walter John laborer 759306 759306 Walter, John, of Faccombe, laborer 0
5000471 2357007 2357007 defendant Stawey Thomas laborer 773749 773749 Stawey, Thomas, of Asshmerworth, laborer 1
5000472 2357007 2357007 defendant Stawey John laborer 833151 833151 Stawey, John, of Assmer worth, laborer 2
5000473 2357007 2357007 defendant Baylly Richard carpenter 586005 586005 Baylly, Richard, of Upton, carpenter 3
5000474 2357007 2357007 defendant Carpenter wiliam carpenter 586005 586005 Carpenter, wiliam, of Upton, carpenter 4
5000475 2357007 2357007 defendant Beyre William butcher 833152 833152 Beyre, William, of Ibthorp, butcher 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 15.98ms