Description Usage Arguments Value See Also
View source: R/locationBlend.R
Get Dataframe with DataToBlend ordered time by latitude, sending two lists or Series of Anchor latitude and longitude. Consult documentation here.
1 2 3 4 5 6 7 8 9 10 11 12 13 | locationBlend(
token,
anchor_lat,
anchor_lon,
blend_source,
blend_type = "closest_observation",
agg_output = "count",
n = 3,
r = 1000,
data_format = "dataframe",
consumption_confirmation = "off",
oblender = FALSE
)
|
token |
Obtained in openblender.io |
anchor_lat |
Array of ‘latitude’ values to blend data by. |
anchor_lon |
Array of ‘longitude’ values to blend data by. |
blend_source |
JSON object of Data To Blend configuration obtained from a data source in OpenBlender.io |
blend_type |
(Only if blend_type = 'agg_in_intervals'). Select chronological direction of observation or interval to aggregate from 'blend source' to 'anchor':’n_closest_agg’: Aggregate closest n. ‘in_radio_agg’: Aggregate in radio r (measured in km). Default: 'in_radio_agg'. |
agg_output |
'sum', 'avg': For numerical features. Default: 'count' |
n |
(Only if ‘n_closest_agg’ is selected) Number of closest observations to blend and aggregate. |
r |
(Only if ‘in_radio_agg’ is selected) Radio in kilometers to blend and aggregate data points. |
data_format |
Default "Dataframe" |
consumption_confirmation |
"on" or "off", default "on" |
oblender |
Omit this parameter |
A Blended dataset intersected with your anchor in location, success/error message when you insert observations or the list of observations requested.
To see more details go to openblender.io
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.