home / cp40x

names

9 rows where case_id = 2313771

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4857630 2313771 2313771 plaintiff Borlas John tin merchant   Borlas, John, tin merchant, executors of 0
4857631 2313771 2313771 plaintiff Borlas Robert son of John   (Borlas, Robert, son of John 1
4857632 2313771 2313771 plaintiff Borlas Thomas son of John   Borlas, Thomas, son of John 2
4857633 2313771 2313771 plaintiff Borlas John son of John   Borlas, John, son of John 3
4857634 2313771 2313771 defendant Mede John pewterer 585925 585925 Mede, John, of Bristol, pewterer 0
4857635 2313771 2313771 defendant Romyn Lawrence husbandman 813630 813630 Romyn, Lawrence, of Retyre, husbandman 1
4857636 2313771 2313771 defendant Jagowe John husbandman 813630 813630 Jagowe, John, of Retyre, husbandman 2
4857637 2313771 2313771 defendant Cloke John husbandman 813631 813631 Cloke, John, of Rapery, husbandman 3
4857638 2313771 2313771 defendant Higowe John husbandman 813632 813632 Higowe, John, of Lamyvet, husbandman 4

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