home / cp40x

names

5 rows where place_id = 844311

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5082893 2381387 2381387 plaintiff Edlyngton William esq 844311 844311 Edlyngton, William, of Castel Carleton, esq 0
5149570 2401004 2401004 defendant Mason Simon husbandman 844311 844311 Mason, Simon, of Castel Carleton, husbandman 0
5420532 2481064 2481064 defendant Rauson John husbandman 844311 844311 Rauson, John, of Castel Carleton, husbandman 0
5441337 2487326 2487326 defendant Rauson John husbandman 844311 844311 Rauson, John, of Castel Carleton, husbandman 0
5453204 2490838 2490838 defendant Rauson John husbandman 844311 844311 Rauson, John, of Castel Carleton, husbandman 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.791ms