Description Usage Arguments Details Value Examples
View source: R/sanapiwrapper.R
Checks if the metric is available for the slug. If not, a constant vector is returned. Checks if the metric is available for this time window. For unavailable dates, zeros are returned.
1 2 3 4 5 6 7 8 | santimentMetric(
metric,
slug,
from = "2019-01-01",
to = "2020-01-01",
aggregation = "SUM",
selector_option
)
|
metric |
Santiment metric |
slug |
project (e.g. ethereum, bitcoin, tezos ...) |
from |
start of the time window |
to |
end of the time window |
aggregation |
aggregation (SUM, AVG, MEDIAN, MIN, MAX, FIRST, LAST) |
selector_option |
optional string for selector field, for example "holdersCount:10" for "amount_in_top_holders" metric, see "selector: slug: "ethereum", holdersCount:10" |
https://neuro.santiment.net https://graphql.org
table with columns (date, <metric>)
1 | santimentMetric('dev_activity', 'ethereum')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.