words-to-data 0.3.0

Convert Legal Documents Into Diffable Data Structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

/// Raw downloaded data for a bill, ready for Dataset to parse
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct BillDownload {
    pub bill_id: String,
    pub bill_xml: String,
    pub sponsors_json: String,
    pub cosponsors_json: String,
    pub votes_json: Option<String>,
    pub member_jsons: HashMap<String, String>,
}