home / cp40x

names

8 rows where place_id = 602237

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3649110 1910106 1910106 defendant Colyn Peter clerk 602237 602237 Colyn, Peter, of Grenestede, clerk 0
4517168 2205772 2205772 defendant Alfray John   602237 602237 Alfray, John, of Grenestede 0
4547143 2215039 2215039 defendant Gebon Thomas   602237 602237 Gebon, Thomas, of Grenestede 0
4634007 2241489 2241489 plaintiff Miller John   602237 602237 (Miller, John, of Grenestede 1
4699814 2265388 2265388 defendant Jope Nicholas gent 602237 602237 Jope, Nicholas, of Grenestede, gent 0
5325659 2452754 2452754 defendant Edwyn Thomas husbandman 602237 602237 Edwyn, Thomas, of Grenestede, husbandman 0
5325660 2452754 2452754 defendant Sponer John wheeler 602237 602237 Sponer, John, of Grenestede, wheeler 1
5487542 2501168 2501168 defendant Pecche Richard   602237 602237 Pecche, Richard, of Grenestede, mason 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 13.401ms