home / cp40x

names

7 rows where place_id = 654624

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3933138 2001376 2001376 defendant Wakefelde Peter draper 654624 654624 Wakefelde, Peter, of Pontefracte, Yorks, draper 0
4346223 2145932 2145932 defendant Nelson John yeoman 654624 654624 Nelson, John, of Pontefracte, Yorks, yeoman 0
4931371 2336192 2336192 defendant Wakefeld John husbandman 654624 654624 Wakefeld, John, of Pontefracte, Yorks, husbandman 3
5045419 2370259 2370259 defendant Bolton William   654624 654624 Bolton, William, of Pontefracte, Yorks, bell maker 1
5378366 2468815 2468815 defendant Russhworth Robert chapman 654624 654624 Russhworth, Robert, of Pontefracte, Yorks, chapman 0
5378806 2468957 2468957 defendant Patryk John laborer 654624 654624 Patryk, John, of Pontefracte, Yorks, laborer 0
5466064 2494783 2494783 defendant Hill John   654624 654624 Hill, John, of Pontefracte, Yorks, mayor 0

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