home / cp40x

names

9 rows where place_id = 652303

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3922894 1997960 1997960 defendant FitzWilliam George esq 652303 652303 FitzWilliam, George, of Bag Enderby, esq 0
4597243 2230381 2230381 plaintiff Sergeant Robert   652303 652303 Sergeant, Robert, of Bag Enderby 0
4993247 2354859 2354859 defendant Gedney Robert gent 652303 652303 Gedney, Robert, of Bag Enderby, gent 0
5393111 2473101 2473101 defendant Tesdale William tailor 652303 652303 Tesdale, William, of Bag Enderby, tailor 2
5406327 2476880 2476880 defendant Tesdale William tailor 652303 652303 Tesdale, William, of Bag Enderby, tailor 2
5419393 2480716 2480716 defendant Tesdale William tailor 652303 652303 Tesdale, William, of Bag Enderby, tailor 2
5419398 2480717 2480717 defendant Tesdale William tailor 652303 652303 Tesdale, William, of Bag Enderby, tailor 2
5428984 2483588 2483588 defendant Fen William husbandman 652303 652303 Fen, William, of Bag Enderby, husbandman 1
5446178 2488741 2488741 defendant Fen William husbandman 652303 652303 Fen, William, of Bag Enderby, husbandman 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.566ms