home / cp40x

names

6 rows where place_id = 820887

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4912058 2330272 2330272 defendant Launder John chapman 820887 820887 Launder, John, of Crowelond, Lincs, chapman 3
4917508 2331990 2331990 defendant Lavender (illegible) draper 820887 820887 Lavender, ----, of Crowelond, Lincs, draper 1
5378237 2468766 2468766 defendant Tomson Thomas fisher 820887 820887 Tomson, Thomas, of Crowelond, Lincs, fisher 1
5516926 2510120 2510120 defendant Tomson John, junior fisher 820887 820887 Tomson, John, junior, of Crowelond, Lincs, fisher 0
5574310 2527054 2527054 defendant Broke William chapman 820887 820887 Broke, William, of Crowelond, Lincs, chapman 1
5608135 2537449 2537449 defendant Brokk William yeoman 820887 820887 Brokk, William, of Crowelond, Lincs, yeoman 1

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.322ms