-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from crazycapivara/develop
Develop / v0.8.0
- Loading branch information
Showing
152 changed files
with
39,502 additions
and
912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.Rhistory | ||
.RData | ||
tmp/ | ||
inst/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
Package: owmr | ||
Title: OpenWeatherMap API Wrapper | ||
Version: 0.7.2 | ||
Authors@R: person("Stefan", "Kuethe", email = "[email protected]", role = c("aut", "cre")) | ||
Version: 0.8.0 | ||
Date: 2018-11-02 | ||
Authors@R: c( | ||
person("Stefan", "Kuethe", email = "[email protected]", role = c("aut", "cre")), | ||
person("Amanda", "Dobbyn", role = "ctb") | ||
) | ||
Maintainer: Stefan Kuethe <[email protected]> | ||
Description: Accesses OpenWeatherMap's (owm) <https://openweathermap.org/> API. | ||
'owm' itself is a service providing weather data in the past, in the future and now. | ||
Furthermore, 'owm' serves weather map layers usable in frameworks like 'leaflet'. | ||
|
@@ -17,11 +22,14 @@ Depends: | |
Imports: | ||
magrittr, | ||
httr, | ||
jsonlite | ||
jsonlite, | ||
plyr, | ||
tibble, | ||
tidyr | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
LazyData: true | ||
RoxygenNote: 5.0.1 | ||
RoxygenNote: 6.0.1 | ||
Suggests: | ||
leaflet, | ||
whisker, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,54 @@ | ||
# owmr 0.3.0 | ||
# owmr 0.8.0 | ||
|
||
* Added a `NEWS.md` file to track changes to the package. | ||
* Added generic function `owmr_as_tibble` to get similiar-ish and tidy data frames | ||
for all kind of responses | ||
* Removed `find_stations_by_geo_point` and `get_current_from_station` because of a new | ||
_owm stations api_ | ||
|
||
# owmr 0.4.0 | ||
# owmr 0.7.4 | ||
|
||
* Added function to search owm's city list by city name. | ||
* Added tests for current data. | ||
- Added helper function to fetch 'fresh' data used in tests. | ||
* Fixed bug in `add_owm_tiles` | ||
* `find_stations_by_geo_point` and `get_current_from_station` are not supported anymore because of breaking changes in the owm api for stations. Functions will be removed in a future version. | ||
|
||
# owmr 0.4.1 | ||
# owmr 0.7.3 | ||
|
||
* Added function to fetch current weather data for multiple cities at once. | ||
* Added feature to store the api key in an environment variable called `OWM_API_KEY` | ||
* It is still possible to set the key via `owmr_settings`, but it is recommended that you use the environment variable instead | ||
|
||
# owmr 0.5.0 | ||
# owmr 0.7.2 | ||
|
||
* Refactored code | ||
* Added function to fetch current weather data for cities around geo point (more or less an alias to `find_city`). | ||
* Marked UTF-8 string in data fixed. | ||
* Updated package description | ||
|
||
# owmr 0.6.1 | ||
# owmr 0.7.1 | ||
|
||
* Added function to show weather data on leaflet map. | ||
- Added operator `%$$%` to render template text for popups. | ||
* Fixed false poitives in check for undefined global variable `.` from `magrittr` | ||
|
||
# owmr 0.7.0 | ||
|
||
* Added functions to add owm tiles to leaflet map. | ||
- Note: Performance of owm tile server seems to be low. | ||
|
||
# owmr 0.7.1 | ||
# owmr 0.6.1 | ||
|
||
* Fixed false poitives in check for undefined global variable `.` from `magrittr` | ||
* Added function to show weather data on leaflet map. | ||
- Added operator `%$$%` to render template text for popups. | ||
|
||
# owmr 0.7.2 | ||
# owmr 0.5.0 | ||
|
||
* Updated package description | ||
* Refactored code | ||
* Added function to fetch current weather data for cities around geo point (more or less an alias to `find_city`). | ||
* Marked UTF-8 string in data fixed. | ||
|
||
# owmr 0.4.1 | ||
|
||
* Added function to fetch current weather data for multiple cities at once. | ||
|
||
# owmr 0.4.0 | ||
|
||
* Added function to search owm's city list by city name. | ||
* Added tests for current data. | ||
- Added helper function to fetch 'fresh' data used in tests. | ||
|
||
# owmr 0.3.0 | ||
|
||
* Added a `NEWS.md` file to track changes to the package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
find_cities_by_bbox <- function(bbox = c(12,32,15,37,10), ...) { | ||
get <- owmr_wrap_get("box/city") | ||
get(bbox = paste0(bbox, collapse = ","), ...) %>% | ||
owmr_parse() %>% | ||
owmr_class("owmr_box_city") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.