NTU-Power / crawler

Web crawler for parsing data from http://140.112.166.97/power/fn3/index.aspx
0 stars 0 forks source link

Need data cleansing: assets/mapping.csv #1

Open wythe51 opened 6 years ago

wythe51 commented 6 years ago
  1. PowerMeters ID 需補齊 請參考 assets/meters.csv 的 BuildingID, 將 assets/mapping.csv 的 PowerMeters 欄位補成跟 BuildingID 一致。 Ex: 1A_2 to 01A_P1_02

  2. 鹿鳴雅舍事件 鹿鳴雅舍、地質系、浩瀚樓等,ID內有減號, 請改成底線。 並在 assets/meters.csv 的 BuildingID 做一樣的處理。 Ex: 1A_2 to 01A_P1_02

  3. 依照資料庫架構輸出成 JSON 如果可以,直接寫入資料庫。

tigercosmos commented 6 years ago

資料庫寫入應該給另外一支程式來做 這隻負責抓資料 抓完呼叫處理DB的寫入

Andy-Cheng commented 6 years ago

fixed