home / cp40x

names

10 rows where place_id = 795658

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4747235 2279696 2279696 defendant Thomson Richard laborer 795658 795658 Thomson, Richard, of Hamylton, laborer 1
4857807 2313813 2313813 defendant del Thorp Robert laborer 795658 795658 del Thorp, Robert, of Hamylton, laborer 1
5101266 2386780 2386780 plaintiff Astyn Thomas   795658 795658 Astyn, Thomas, of Hamylton, chantry chaplain 0
5101269 2386781 2386781 plaintiff Astyn Thomas chaplain 795658 795658 Astyn, Thomas, of Hamylton, chaplain 0
5243739 2428359 2428359 defendant Broun Simon clerk 795658 795658 Broun, Simon, of Hamylton, clerk 0
5361528 2463628 2463628 defendant Bewe Roger husbandman 795658 795658 Bewe, Roger, of Hamylton, husbandman 0
5382217 2469972 2469972 defendant Thorp Richard   795658 795658 Thorp, Richard, of Hamylton 1
5382218 2469972 2469972 defendant Thorp Thomas husbandman 795658 795658 Thorp, Thomas, of Hamylton, husbandman 2
5396500 2474092 2474092 defendant Thorp Richard husbandman 795658 795658 Thorp, Richard, of Hamylton, husbandman 2
5396501 2474092 2474092 defendant Thorp Thomas husbandman 795658 795658 Thorp, Thomas, of Hamylton, husbandman 3

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.408ms