Giter VIP home page Giter VIP logo

foodie-map's Introduction

Foodie-Map

網頁大綱流程圖

命名方式

  1. 屬於你的檔案就後面後綴你想要的字串 (ex. init_plchao.sql, login_plchao.sql)
  2. 不要更動到其他人的檔案

query_restaurant_plchao.py 使用方式

  1. 填入 key
  2. 改動開始與結束的經緯度,step 表示一次移動會移動幾次
  3. 開始跑,json 會存入 data 的資料夾

init.sql 使用方式

用以初始化資料庫

  1. 跑 line 1-4 (建立 term_project 的資料庫)
  2. 在 term_project 下跑 line 5-29 (建立 userlis, restaurant, history 資料表)
  3. 切至 restaurant 資料表,點匯入,匯入 db.csv (在共用雲端),如下圖
  4. 跑 line 31 (移除 csv 多出來的欄位名稱)

preprocess_update.py

  1. 使用 pd 來輸出 db.csv, 去除重複的 row
  2. 用 os.list 自己抓檔名, 只要 json 結尾在 data 資料夾裡面都會被處理

foodie-map's People

Contributors

plchao avatar shandy-yuyu avatar ccandyvv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.