olgnaydn / airqualitr

An R package on Air Quality Information for Turkey
MIT License
1 stars 0 forks source link

Define necessity of third party APIs #4

Open olgnaydn opened 7 years ago

olgnaydn commented 7 years ago

Define necessity of third party APIs like Google Map Direction API, Geocoding API, etc.

olgnaydn commented 6 years ago

@uisikdag hocam sizce farklı bir Third party API'ye ihtiyacımız olur mu ? Aklıma ilk gelen, istasyonların lokasyonlarına göre city vs vs bilgisi çekmek için Google Maps Geocoding API gerekebilir mi ?

uisikdag commented 6 years ago

Belki..emin değilim hocam...


Umit Isikdag Department of Informatics,Mimar Sinan Fine Arts University Editor of International Journal of 3D Information Modeling(IJ3DIM) www.isikdag.com labs.isikdag.com http://labs.isikdag.com www.igi-global.com/ij3dim https://goo.gl/AveWq2

2017-10-08 12:16 GMT+03:00 Olgun AYDIN notifications@github.com:

@uisikdag https://github.com/uisikdag hocam sizce farklı bir Third party API'ye ihtiyacımız olur mu ? Aklıma ilk gelen, istasyonların lokasyonlarına göre city vs vs bilgisi çekmek için Google Maps Geocoding API gerekebilir mi ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/olgnaydn/airqualitr/issues/4#issuecomment-334993669, or mute the thread https://github.com/notifications/unsubscribe-auth/AGT_CwL1ySm3VpycfLwB3cLPaPE_7vebks5sqJMLgaJpZM4Pa7GE .

olgnaydn commented 6 years ago

@uisikdag hocam selamlar, sanirim burada map uzerinde distance (arac yolu, yaya yolu vb uzerinden) hesaplamak istemedikce third party bir toola ihtiyacimiz olmayacak.

Cunku datasetimizde istasyon isimlerinde gordugum kadariyla il ismi geciyor. Ornegin bir istasyonun bulundugu illerdeki diger istasyonlar icin kiyaslama yapmak istedigimizde place fieldina bakip icinde hangi il geciyor diye kontrol edip sonrasinda icinde o ilin gectigi noktalari getirtebiliriz.

Ornegin asagidaki sorgu Istanbul'daki istasyonlari getiriyor.

dbGetQuery(con, "select count(*) from airquality_data where place ilike 'ISTANBUL%'")

Asagidaki sorguda da Istanbul'daki her istasyon basina kac kayit dustugu listeleniyor.

dbGetQuery(con, "select place, count(*) from airquality_data where place ilike 'ISTANBUL%' group by place")

uisikdag commented 6 years ago

ok