rOpenGov / fmi

Finnish Meteorological Institute open data API R client
Other
10 stars 7 forks source link

Return coords as numeric instead of chr in fmi_weather_stations() #17

Closed ilarischeinin closed 7 years ago

ilarischeinin commented 7 years ago

At the moment, fmi_weather_stations() returns the Lat and Lon coordinates as character, because the included file inst/extdata/weather_stations.csv uses , as the decimal separator. This PR reads them as numeric.

Another possibility would of course be to modify the csv file and change the decimal separators.

jlehtoma commented 7 years ago

Looks good to me, thanks!