Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
O
oie-year-report-analyse
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
齐昊宇
oie-year-report-analyse
Commits
4b52c849
Commit
4b52c849
authored
Sep 30, 2019
by
齐昊宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表5数据完成
parent
bf6b0f0f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
552 additions
and
461 deletions
+552
-461
vcs.xml
.idea/vcs.xml
+6
-0
workspace.xml
.idea/workspace.xml
+94
-80
utils.py
postgre/utils.py
+32
-0
test.py
test.py
+420
-381
No files found.
.idea/vcs.xml
0 → 100644
View file @
4b52c849
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$"
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
.idea/workspace.xml
View file @
4b52c849
This diff is collapsed.
Click to expand it.
postgre/utils.py
View file @
4b52c849
...
...
@@ -76,6 +76,38 @@ tableInfos = {
'year_report_id'
:
'int'
,
'month'
:
'string'
,
'state'
:
'string'
},
"oie_year_report_unreported"
:
{
'disease'
:
'string'
,
'disease_id'
:
'int'
,
'country_code'
:
'string'
,
'year'
:
'int'
,
'type'
:
'string'
,
'animal'
:
'string'
,
'year_report_id'
:
'int'
,
'id'
:
'int'
},
"oie_year_report_summary_non"
:
{
"non_oie_listed_disease"
:
"string"
,
"occurrence"
:
"string"
,
"serotype"
:
"string"
,
"new_outbreaks"
:
'string'
,
"total_outbreaks"
:
"string"
,
"species"
:
"string"
,
"control_measures"
:
"string"
,
"official_vaccination"
:
"string"
,
"measuring_units"
:
"string"
,
"susceptible"
:
"string"
,
"cases"
:
"string"
,
"deaths"
:
'string'
,
"killed_and_disposed_of"
:
"string"
,
"slaughtered"
:
"string"
,
"vaccination_in_response_to_the_outbreak"
:
"string"
,
"country_code"
:
"string"
,
"year"
:
"int"
,
"type"
:
"string"
,
"year_report_id"
:
"int"
,
"id"
:
"int"
}
}
...
...
test.py
View file @
4b52c849
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment