home / cp40x

names

6 rows where place_id = 652791

✎ 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
3925565 1998864 1998864 defendant Weston Richard cordwainer 652791 652791 Weston, Richard, of Ratford, cordwainer 0
4426361 2173052 2173052 defendant atte Vikers Robert   652791 652791 atte Vikers, Robert, of Ratford 0
4722258 2272283 2272283 defendant Cressall John barber 652791 652791 Cressall, John, of Ratford, barber 0
4782587 2290567 2290567 defendant Brygges William shoemaker 652791 652791 Brygges, William, of Ratford, shoemaker 1
4866096 2316369 2316369 defendant Lorde William butcher 652791 652791 Lorde, William, of Ratford, butcher 0
4894177 2324870 2324870 defendant Lorde John butcher 652791 652791 Lorde, John, of Ratford, butcher 9

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 25.035ms