home / cp40x

names

7 rows where place_id = 681579

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4045605 2040878 2040878 defendant Moody John fisher 681579 681579 Moody, John, of Stockwith, fisher 0
4221592 2103042 2103042 defendant Gregorie Roger gent 681579 681579 Gregorie, Roger, of Stockwith, gent 2
4299702 2129982 2129982 defendant Hall Simon gent 681579 681579 Hall, Simon, of Stockwith, gent 0
4299703 2129982 2129982 defendant Browghe William gent 681579 681579 Browghe, William, of Stockwith, gent 1
4299705 2129982 2129982 defendant Almon George gent 681579 681579 Almon, George, of Stockwith, gent 3
4299706 2129982 2129982 defendant Norton Christopher yeoman 681579 681579 Norton, Christopher, of Stockwith, yeoman 4
4299707 2129982 2129982 defendant Browne Wolfram yeoman 681579 681579 Browne, Wolfram, of Stockwith, yeoman 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 12.938ms