Commit 5ccd173b authored by Simantini Shinde's avatar Simantini Shinde
Browse files

Created import building numbers function

parent a4797a5d
Pipeline #38667 passed with stage
in 1 minute and 50 seconds
This diff is collapsed.
......@@ -34,7 +34,7 @@ def main():
# Example logging output
logger.info("exposurejapan started")
db = JapanDatabase("test.sqlite", "/usr/lib64/mod_spatialite.so.7")
db = JapanDatabase("test.sqlite", "mod_spatialite")
try:
db.connect()
......@@ -43,13 +43,7 @@ def main():
exit()
db.create_tables()
db.import_districts_and_boundaries("data/Boundary.gpkg")
db.import_exposure_data(
"data/population_sub_municipal.csv",
"data/e039_3e.xlsx",
"data/e008_3e.xlsx",
"data/e011_2e.xlsx",
"data/e014e.xlsx",
)
db.import_exposure_data("data/population_sub_municipal.csv", "data/e039_3e.xlsx")
# Leave the program
sys.exit()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment