Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
acharyasourav committed Jul 23, 2022
1 parent c2f172e commit c7a7423
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 0 deletions.
Binary file added sample_files/.DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions sample_files/2016-05-28-14-36-19-014281.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ID,Address,Name,Employees,Latitude,Longitude
1, 3666 21st St San Francisco CA 94114 USA, Madeira,8,37.756488877551,-122.429343346939
2, 735 Dolores St San Francisco CA 94119 USA, Bready Shop,15,,
3, 332 Hill St San Francisco California 94114 USA, Super River,25,37.755725122449,-122.428601306122
4, 3995 23rd St San Francisco CA 94114 USA, Ben's Shop,10,37.7529648,-122.431714
5,1056 Sanchez St San Francisco California USA,Sanchez,12,37.7521458,-122.42981516
6 changes: 6 additions & 0 deletions sample_files/2016-05-28-14-40-17-833207.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ID,Address,Name,Employees,Latitude,Longitude
1, 3666 21st St San Francisco CA 94114 USA, Madeira,8,37.756488877551,-122.429343346939
2, 735 Dolores St San Francisco CA 94119 USA, Bready Shop,15,,
3, 332 Hill St San Francisco California 94114 USA, Super River,25,37.755725122449,-122.428601306122
4, 3995 23rd St San Francisco CA 94114 USA, Ben's Shop,10,37.7529648,-122.431714
5,1056 Sanchez St San Francisco California USA,Sanchez,12,37.7521458,-122.42981516
6 changes: 6 additions & 0 deletions sample_files/2017-05-08-10-44-25-734809.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ID,Address,Name,Employees,Latitude,Longitude
1, 3666 21st St San Francisco CA 94114 USA, Madeira,8,,
2, 735 Dolores St San Francisco CA 94119 USA, Bready Shop,15,,
3, 332 Hill St San Francisco California 94114 USA, Super River,25,37.755725122449,-122.428601306122
4, 3995 23rd St San Francisco CA 94114 USA, Ben's Shop,10,,
5,1056 Sanchez St San Francisco California USA,Sanchez,12,37.7521458,-122.42981516
6 changes: 6 additions & 0 deletions templates/download.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<div class="download">
<a href={{url_for('download')}} target="blank"> <button class="btn"> Download </button></a>
</div>
</html>
21 changes: 21 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<title> Super Geocoder </title>
<head>
<link href="../static/main.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1>Super Geocoder</h1>
<h3>Please upload your CSV file. The values containing addresses should be in a column named <em>address</em> or <em>Address</em></h3>
<form action="{{url_for('success_table')}}" method="POST" enctype="multipart/form-data">
<input type="file" accept=".csv" name="file" />
<button type="submit"> Submit </button>
</form>
<div class="output">
{{text|safe}}
{% include btn ignore missing %}
</div>
</div>
</body>
</html>

0 comments on commit c7a7423

Please sign in to comment.