diff --git a/docs/data_structure.md b/docs/data_structure.md index e5f523f..7f95fc6 100644 --- a/docs/data_structure.md +++ b/docs/data_structure.md @@ -24,7 +24,7 @@ To be able to store this information in a structured way, we use a SQL database Here is a UML diagram of the classes used in the Python script. Note the inheritance, which means that you will have to join several tables to get all the desired columns. - + ## Extract data from the Database diff --git a/docs/data_structure.png b/docs/data_structure.png new file mode 100644 index 0000000..11b9916 Binary files /dev/null and b/docs/data_structure.png differ diff --git a/docs/data_structure.svg b/docs/data_structure.svg deleted file mode 100644 index 2932833..0000000 --- a/docs/data_structure.svg +++ /dev/null @@ -1 +0,0 @@ -
OpenRemiss v0.4
OpenRemiss v0.4
Remiss
[Not supported by viewer]
+ diary_number: str
+ diary_number: str
+ deadline: date
+ deadline: date
+ consultees: ConsulteeList
+ consultees: ConsulteeList
+ answers: Answer[]
+ answers: Answer[]
+ other_documents: Document[]
+ other_documents: Document[]
Answer
[Not supported by viewer]
+ organisation: str
+ organisation: str
Content
[Not supported by viewer]
+ id: int (autoincrement)
+ id: int (autoincrement)
+ issuer: str[]
+ issuer: str[]
+ published_on: date
+ published_on: date
+ title: str
+ title: str
+ url: str
+ url: str
ConsulteeList
[Not supported by viewer]
+ consultee_list: Consultee[]
+ consultee_list: Consultee[]
Document
[Not supported by viewer]
+ id: int (autoincrement)
+ id: int (autoincrement)
+ files: File[]
+ files: File[]
Consultee
[Not supported by viewer]
+ id: int
+ id: int
+ name: str
+ name: str
File
[Not supported by viewer]
+ name: str
+ name: str
+ url: str
+ url: str

contains

[Not supported by viewer]

contains

[Not supported by viewer]
1
1
0..n
0..n
1
1

contains

[Not supported by viewer]

contains

[Not supported by viewer]
1
1
0..n
0..n

contains

[Not supported by viewer]
1
1
0..n
0..n
1
1
0..n
0..n
0..n
0..n
+ cleaned_name: str
+ cleaned_name: str
\ No newline at end of file