Releases: munterfi/hereR
Releases · munterfi/hereR
hereR 0.5.2
hereR 0.5.1
hereR 0.5.0
- Upgrade Geocoder API version used in
geocode()
from v6.2 to v7 (closes #52). Note: The argumentautocomplete
is defunct and the argumentaddresses
is deprecated, useaddress
instead. - 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 argumentlandmarks
is 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~/.Renviron
instead.
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.
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
sf
argument togeocode()
function. IfTRUE
, the default, an {sf}
object is returned, ifFALSE
a data.frame withlng
andlat
columns.
(@dpprdan, #44) - Intermodal Routing API: Routes The new feature
intermodal_route()
adds support for requesting intermodal routes between given pairs of locations.
hereR 0.3.3
- Added
set_verbose()
function to define (for the current R session) if thehereR
package
should message information about the number of requests sent and data received (default =FALSE
). - Reactivate maps with multiple layers since the
mapview
issue 271 is fixed. lwgeom
no longer exportsst_make_valid()
, butsf
does. Thereforelwgeom
is moved from the package dependencies to the suggestions (see #38).
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
sf
0.9-0 (see #36). - Increased the dependency on the
sf
package 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 thesf
package are no longer supported. - Temporarily deactivated maps with multiple layers until the
mapview
issue 271 is fixed.
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
origin
anddestination
are 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.
hereR 0.3.0
- HERE has updated the authentication process and changed from APP_ID and APP_CODE to a single API_KEY. Therefore
set_auth()
andunset_auth()
are defunct and replaced byset_key()
andunset_key()
(see #23).
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
start
parameter toorigin
and unified the utilization of thedatetime
andarrival
parameters 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 sf
to the package documentation to ensuresf
objects are handled correctly. - Added
departure
andarrival
datetime column to the return value ofroute()
,route_matrix()
andisoline()
. - Removed
data.table
object type from function return values. New: Puredata.frame
orsf, data.frame
because this integrates better with other packages (e.g. theoverline2()
function from thestplanr
package).
hereR 0.2.1
- Enhanced
traffic()
: Clarified thatfrom_dt
andto_dt
have 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.names
in 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() <- NULL
to 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).