home / cp40x

names

6 rows where case_id = 2264928

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4698218 2264928 2264928 plaintiff Cressell William     Cressell, William 0
4698219 2264928 2264928 defendant Totewyll William brewer 607663 607663 Totewyll, William, of Southwerk, Surrey, brewer 0
4698220 2264928 2264928 defendant Bony John jun, of Plymouth, yeoman   Bony, John, jun, of Plymouth, yeoman 1
4698221 2264928 2264928 defendant Boune John laborer 594621 594621 Boune, John, of Plymouth, laborer 2
4698222 2264928 2264928 defendant Fogge Thomas cobbler 594621 594621 Fogge, Thomas, of Plymouth, cobbler 3
4698223 2264928 2264928 defendant Cosyn Maurice fisher 594621 594621 Cosyn, Maurice, of Plymouth, fisher 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 11.799ms