ohsome 0.2.2
- On attach, the package now issues an informative startup message
instead of a warning if it could not retrieve metadata information from
the ohsome API.
- Vignette code chunks do not evaluate on CRAN to avoid errors when
internet resources are temporally unavailable
- Fixed tests to use suggested packages conditionally
ohsome 0.2.1
- Package CITATION file calls bibentry()instead of
old-stylecitEntry().
- Fixed incomplete file URIs in docs.
- Fixed missing strict = FALSEin query example inREADME.
ohsome 0.2.0
- Added a NEWS.mdfile to track changes to the
package.
- Added strictargument toohsome_post. When
set to TRUE (default), an error is thrown on invalid queries and the
request is not sent to the API. Queries with undefined
filter or time parameters are considered as invalid in strict mode.
- Changed behavior of set_properties(): Removes
properties parameter from query body by default, accepts tags
and/or metadata and/or contributionTypes as properties
argument (multiple values provided as comma-separated character or
character vector).
- Changed behavior of set_time(),set_filter(),set_groupByKeys(),set_groupByKey()andset_groupByValues: Return
unmodified query object if parameter argument is missing
(e.g.set_filter(query)), but remove parameter from body if
explicitly set to NULL
(e.g.set_filter(query, filter = NULL))
- Added groupingargument toohsome_query()andset_grouping()function. Based ongrouping,
the endpoint URL is appended so that aggregations are grouped
accordingly.
- Added return_valueargument toohsome_aggregate_elements(). Based onreturn_value, the endpoint URL is appended so that either
absolute aggregate values, densities or ratios are requested from the
ohsome API.
- Added ohsome_query()wrapper functionsohsome_extract_elements(),ohsome_elements_bbox,ohsome_elements_centroidandohsome_elements_geometryfor elements extraction
endpoints of ohsome API
- Added ohsome_query()wrapper functionsohsome_extract_elementsFullHistory(),ohsome_elementsFullHistory_bbox(),ohsome_elementsFullHistory_centroid()andohsome_elementsFullHistory_geometry()for
elementsFullHistory extraction endpoints of ohsome API
- Added ohsome_query()wrapper functionsohsome_extract_contributions(),ohsome_contributions_bbox(),ohsome_contributios_centroid()andohsome_contributions_geometry()for contributions
extraction endpoints of ohsome API
- Added ohsome_query()wrapper functionsohsome_contributions_count()for contributions aggregation
endpoints of ohsome API
- Added ohsome_query()wrapper functionohsome_users_count()for user aggregation endpoints of
ohsome API
- ohsome_medataand- ohsome_temporalExtentare assigned on loading (not on attaching) the package
- ohsome_metadata$extractRegion$temporalExtentand- ohsome_temporalExtentare no longer converted to POSIXct,
but provided as ISO 8601 strings
- Added endpoint-specific check for missing required parameters to
query validation
- Added validation of JSON response content
- Updated READMEto reflect new features, added hints on
boundary polygon acquisition through third-party packages
- Added CITATIONfile with reference to OSHDB/ohsome API
and technical paper