Recent Releases of herer
herer - hereR 1.1.0
- Replace deprecated
with_mock()from testthat withwith_mocked_bindings()in all test cases (closes #174). - Updated the test coverage GitHub Action workflow to use
actions/upload-artifact@v4, fixing a deprecation issue. - Add support for configuring speed limits in
isoline()androute()requests via thespeed_limitparameter. This sets&pedestrian[speed]=<LIMIT>for pedestrian mode and&vehicle[speedCap]=<LIMIT>for vehicle-based modes in API requests (refs #175). - Expand transport mode support in
isoline()routing by enabling"bicycle","scooter","taxi","bus", and"privateBus", in line with newly available API options.
- R
Published by munterfi over 1 year ago
herer - hereR 1.0.1
- Prevent the consumption model from being added to the request when the transport mode is set to
"pedestrian"inisoline()androute()functions (closes #167). - Adjust the rate limit in
route()to 7 requests per second (RPS). Although HERE's documentation specifies a 10 RPS limit, it has been lowered to 5 RPS to avoid frequent 429 "Too Many Requests" errors.
- R
Published by munterfi over 1 year ago
herer - hereR 1.0.0
Please note that there are breaking changes introduced in this major version release for the weather(), flow(), and incidents() functions. Be sure to review the updated documentation to understand how these changes may affect your usage.
- Upgrade HERE Traffic API to v7 for
flow()andincident()requests (closes #158) - Upgrade HERE Destination Weather API to v3 for
weather(). - Update description to create a new API key to the HERE Platform (closes #157).
- In addition to
sf,data.frames, the input for points and areas of interest now also allows forsfcgeometry columns. - Change the example data set of the package for the area of interest
aoifrom the country border of Switzerland to the districts of Zurich. This change was necessary because theflow()andincident()requests have a maximum allowed width and height of 1 degree for the bounding box of the input AOIs. - Replace GitHub actions with current versions from r-lib/actions.
- Bugfix: Fix decoding of polylines with NA value in
intermodal_route(). - Bugfix: NAs introduced by coercion, do not convert
snowFallcolumn to numeric in weather observation request. - Bugfix: Remove
defunct.Randdeprecated.Rto avoid NOTE (closes #162).
- R
Published by munterfi over 2 years ago
herer - hereR 0.9.1
- Resubmit to CRAN due to since the package was archived on 2022-12-27 as email to the maintainer was temporarily not deliverable.
- Updated r-lib/actions in github action
R-CMD-check.yamlandpkgdown.yaml.
- R
Published by munterfi over 3 years ago
herer - hereR 0.9.0
- Allow transport modes
"scooter","taxi","bus","privateBus"inroute()androute_matrix(). - Request tolls for routes with transport modes
"car","truck","taxi"and"bus"inroute(). The new boolean parametervignettesdefines if vignettes should be in inlcuded in the total toll cost of routes (closes #151). - Add
set_currency()to allow changing the currency used in toll requests to a currency code compliant to ISO 4217. The default currency is the current system locale setting. If the monetary formatting category"LC_MONETARY"of the C locale is not set,"USD"is set as default. - Set
aggregate = FALSEas default inisoline()(closes #153). - Bugfix: Reduced RPS from 5 to 4 in calls to the Weather API in
weather(), due toStatus 429; Too Many Requests;. - Bugfix: Do not convert columns
"visibility"and"snowCover"to numeric inweather(..., product = "observation"), as they contain non numeric character values (NAs introduced by coercion).
- R
Published by munterfi almost 4 years ago
herer - hereR 0.8.2
- Setting the arrival time is now supported by the Routing API, therefore
route(..., arrival = TRUE)works. - Since
sapplyis not type safe, replace its use withvapply(..., FUN.VALUE = type). - Add endpoint URL (without parameters) of failing requests to the warning message and print error message of the response.
- RPS limit for weather and traffic endpoints.
- Changed workflow from git flow to trunc-based development. Removed develop branch. New features are merged directly into
masterand releases are tagged after CRAN has accepted the package submission, which triggers the documentation build. - Bugfix: Fix time / traffic independent requests in
isoline(..., traffic=FALSE)(closes #147). - Bugfix: Explicitly cast linestring in function
.connection_summaryto avoid error inCPL_geos_union(@panhypersebastos).
- R
Published by munterfi over 4 years ago
herer - hereR 0.8.1
- Adjust URLs to GitHub account due to renaming munterfinger to @munterfi.
- Bugfix: Add
set_freemiumtopic to index in pkgdown.
- R
Published by munterfi over 4 years ago
herer - hereR 0.8.0
- Rename the rate-limit-related variable
HERE_RPStoHERE_FREEMIUM, and the functionhereR::set_rate_limit()tohereR::set_freemium(). Use theHERE_FREEMIUMenvironment variable to determine a plan-specific size of sub-matrices in thehereR::route_matrix()function (@szaboildi, #138). - Deprecate
hereR::set_rate_limit()(closes #137). - Add option to use qualified queries in
geocode()(closes #136).
- R
Published by munterfi over 4 years ago
herer - hereR 0.7.1
- Add parameter to allow filtering transport modes in
connection()(closes #130). - Bugfix: Swapped the origin and destination IDs in
route_matrix(). Removed query optimization because switching the IDs results in reversed route information (closes #129). - Update outdated URLs in package documentation.
- R
Published by munterfi almost 5 years ago
herer - hereR 0.7.0
- Enable
optimizeparameter to chose from "balanced", "quality" and "performance" inisoline()(closes #119). - Remove deprecated parameters in
route(),route_matrix()andisoline(). - Add specific user-agent to the requests:
hereR/<version> R/<version> (<platform>). - Add option to deactivate rate limits
set_rate_limit(FALSE). - Bugfix: Add rate limits in RPS (requests per seconds) to async requests to the APIs; move dependency for requests from curl to crul package (closes #122).
- Bugfix:
isoline()now handles multipart polygons (MULTIPOLYGON) if received by the API (closes #121). - Add area and feature avoidance in
route()(closes #117).
- R
Published by munterfi about 5 years ago
herer - hereR 0.6.1
- Use styler package and use
tyler::tidyverse_style()to format the package. - All lintr issues are solved, except from line length issues (limit of 80 characters).
- Avoid drop of the
sfcclass of the geometry column when there is only one geometry/row in adata.table(closes #111). - Return
queryScoreingeocode()results asscorecolumn (closes #109). - Silence sf messages of
sf::st_unioncall inconnection(..., summary = TRUE). - Added section id to
route(),intermodal_route()andconnection().
- R
Published by munterfi over 5 years ago
herer - hereR 0.6.0
- Update
route_matrix()from Routing API v7.2 (calculatematrix) to Matrix Routing API v8 (see #87). - Update
isoline()from Routing API v7.2 (calculateisoline) to Isoline Routing API v8 (see #87). - Update
route()from Routing API v7.2 (calculateroute) to Routing API v8, which brings the elevation to the route geometries (closes #87). Note: Arrival time is not yet supported. - Return ISO state and country code in
geocode()with the updated API v7.2 as it did with the previous API v6 (closes #98). - Deprecate parameters
modeandtypeinroute(),route_matrix()andisoline(), usetransport_modeandrouting_modeinstead. - Fix parsing of timezones in
connection()andintermodal_route()(closes #94). - Fix not conditional use of suggested packages in vignettes (closes #101).
- Fix issue with delimiter for POST requests by changing it from a space
" "to a space pipe combination" | "(closes #102). - Added contribution guidelines, code of conduct and issue templates.
- R
Published by munterfi over 5 years ago
herer - hereR 0.5.2
- Send timezone offset in requests to the HERE APIs to avoid server-side conversion to local timezone (closes #85).
- Added option to return alternative results in
geocode(). The alternative locations are ranked according to the order received from the Geocoder API (closes #83 and #81).
- R
Published by munterfi over 5 years ago
herer - hereR 0.5.1
- Fix of the request generation for the Geocoder API: Removal of the
&in front of theapiKeyargument in the url (closes #73 and #74).
- R
Published by munterfi over 5 years ago
herer - hereR 0.5.0
- Upgrade Geocoder API version used in
geocode()from v6.2 to v7 (closes #52). Note: The argumentautocompleteis defunct and the argumentaddressesis deprecated, useaddressinstead. - Change default geometry in the return value of
geocode()to position coordinates (display position) and return access coordinates (navigation position) as additional column in well-known text format (closes #53). - Consistent columns in the return value of
geocode()andreverse_geocode()independent of the input address level (closes #58). - Upgrade Geocoder API version used in
reverse_geocode()from v6.2 to v7. Note: The argumentlandmarksis defunct. - Replace Geocoder API Autocomplete v6.2 with Geocoder API Autosuggest v7. Note: The function
autocomplete()is defunct, please useautosuggest(). - Upgrade Public Transit API version used in
connection()andstation()from v3 to v8 (closes #62). Note: Now the geometries (LINESTRING) of the pedestrian sections are also included in the public transport routes returned byconnection(). - Sign in to CodeFactor.io and add badge to track code quality.
- Defunct
set_proxy()andunset_proxy(). Use a global proxy configuration for R in~/.Renvironinstead.
- R
Published by munterfi over 5 years ago
herer - hereR 0.4.1
- Change example and API mock data for
intermodal_route()from Berlin to Switzerland, as the service is now also available there. - Force {mapview} to use 'classical' leaflet/htmlwidgets rendering (which embeds data directly in the html) and not the file format 'flatgeobuf' in vignette building (see #54).
- Temporarily deactivate all maps in the vignettes to solve the issues on CRAN (closes #54). With the next release of {mapview} >= v2.9.1 on CRAN the maps will be reactivated.
- R
Published by munterfi almost 6 years ago
herer - hereR 0.4.0
- Changed CI from Travis to GitHub actions.
- Added automated pkgdown page build after pull requests and commits on master.
- Extended test coverage on defunct function calls.
- Added
sfargument togeocode()function. IfTRUE, the default, an {sf} object is returned, ifFALSEa data.frame withlngandlatcolumns. (@dpprdan, #44) - Intermodal Routing API: Routes The new feature
intermodal_route()adds support for requesting intermodal routes between given pairs of locations.
- R
Published by munterfi almost 6 years ago
herer - hereR 0.3.3
- Added
set_verbose()function to define (for the current R session) if thehereRpackage should message information about the number of requests sent and data received (default =FALSE). - Reactivate maps with multiple layers since the
mapviewissue 271 is fixed. lwgeomno longer exportsst_make_valid(), butsfdoes. Thereforelwgeomis moved from the package dependencies to the suggestions (see #38).
- R
Published by munterfi about 6 years ago
herer - hereR 0.3.2
- Defunct the deprecated
traffic()function, which has been replaced by the functionsflow()andincident(). - Recreated package test data, api mocks and examples with
sf0.9-0 (see #36). - Increased the dependency on the
sfpackage to version 0.9-0 due to a different CRS handling (for more information about the changes in sf, see here). Note: Older versions of thesfpackage are no longer supported. - Temporarily deactivated maps with multiple layers until the
mapviewissue 271 is fixed.
- R
Published by munterfi about 6 years ago
herer - hereR 0.3.1
- There are no more missing M:N route combinations in the the edge list returned by
route_matrix()(see #30). - All lengths of
originanddestinationare now accepted as input inroute_matrix()(see #31). - Added two new functions
flow()andincident()to access traffic flow and incidents from the Traffic API. Deprecated thetraffic()function. - Reduced the dependent version of R from 3.5.0 to 3.3.0 as the package is still functional but runs on more systems.
- R
Published by munterfi over 6 years ago
herer - hereR 0.3.0
- HERE has updated the authentication process and changed from APPID and APPCODE to a single APIKEY. Therefore `setauth()
andunsetauth()are defunct and replaced bysetkey()andunset_key()(see [#23](https://github.com/munterfinger/hereR/issues/23)).<br>**NOTE:**.Deprecated()` was skipped because the API endpoints have also changed. After updating to a version greater than 0.2.1 the authentication must be adjusted. - Added a minimum jam factor filter to
traffic(..., product = "flow"). Now it is possible to only retrieve flow information of severe congestion with a jam factor greater thanmin_jam_factor, which speeds up requests. - Public Transit API: Transit route The new feature
connection()implements requesting the most efficient and relevant transit connections between given pairs of locations. - Public Transit API: Find stations nearby The new feature
station()retrieves nearby public transit stations with corresponding line information. - Package cosmetics: Renamed the
startparameter tooriginand unified the utilization of thedatetimeandarrivalparameters inroute(),route_matrix(),isoline()andconnection(). - Adjusted the handling of datetime objects in the requests: All
c("POSIXct", "POSIXt")inputs for the requests (mostlydeparture) are converted to UTC using.encode_datetime()and the responses are parsed and returned in the input timezone (or if missing:Sys.timezone()) using.parse_datetime()(see #28). - Added
@import sfto the package documentation to ensuresfobjects are handled correctly. - Added
departureandarrivaldatetime column to the return value ofroute(),route_matrix()andisoline(). - Removed
data.tableobject type from function return values. New: Puredata.frameorsf, data.framebecause this integrates better with other packages (e.g. theoverline2()function from thestplanrpackage).
- R
Published by munterfi over 6 years ago
herer - hereR 0.2.1
- Enhanced
traffic(): Clarified thatfrom_dtandto_dthave no effect on the traffic flow (product = "flow"). Traffic flow is always real-time. Detailed documentation of the variables in the return value. - Improved coverage of
testthat. - Added an
"id"column to the output ofgeocode()and removed the id orderedrow.namesin order to be consistent with other functions of the package. Using the"id"column the addresses to geocode can be joined to the coordinates after geocoding (see #9). - Added an
"id"column also toautocomplete(),reverse_geocode(),route(),isoline(),traffic()andweather(). Using the"id"column the result can be joined to the input. - Fixed the handling of failing requests in
.get_content(). The"id"column is still in correct order, even if there are failing requests in a function call (see #17). - Added
rownames() <- NULLto all functions before returning the result. - Renamed the
"city"column in the returned object ofweather()to"station", as it stands for the name of the nearest meteorological station. - Test for empty geometries in the input POIs and AOIs and throw an error if some are found (see #16).
- R
Published by munterfi over 6 years ago
herer - hereR 0.2.0
- Enhanced
geocode(): In the case of empty responses the row names match the index of the geocoded addresses. Improved input checks. Option to use autocomplete by settingautocomplete = TRUE. - Geocoder Autocomplete API: The new feature
autocomplete()allows autocompleting addresses. - Reverse Geocoder API: The new feature
reverse_geocode()implements reverse geocoding POIs in order to retrieve suggestions for addresses or landmarks.
- R
Published by munterfi over 6 years ago
herer - hereR 0.1.0
First release of the hereR package, an sf-based interface to the HERE REST APIs.
The packages binds to the following HERE APIs:
- Geocoder API: Get coordinates (lng, lat) from addresses.
- Routing API: Routing directions, isolines and travel distance or time matrices, optionally incorporating the current traffic situation.
- Traffic API: Real-time traffic flow and incident information.
- Destination Weather API: Weather forecasts, reports on current weather conditions, astronomical information and weather alerts at a specific location.
Locations and routes are returned as sf objects and tables as data.table objects.
- R
Published by munterfi over 6 years ago