home / cp40x

names

6 rows where case_id = 2272081

✎ 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
4721582 2272081 2272081 plaintiff Charyngherst Ralph     Charyngherst, Ralph 0
4721583 2272081 2272081 plaintiff Lucas William     Lucas, William 1
4721584 2272081 2272081 defendant Wytte John shipman 587891 587891 Wytte, John, of Redyng, shipman 0
4721585 2272081 2272081 defendant Wytte Joan     Joan, his wife 1
4721586 2272081 2272081 defendant Hastyng Thomas shipman 587891 587891 Hastyng, Thomas, of Redyng, shipman 2
4721587 2272081 2272081 defendant Potte John tanner 620178 620178 together with Potte, John, of Haldon, tanner 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 8.775ms