You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the <code>raw_block_data/</code> directory, each file named as <code><project_name>_raw_data.json</code> (e.g., <code>bitcoin_raw_data.json</code>).
122
122
By default,
123
123
there is a (very small) sample input file for some supported projects; to use it, remove the prefix <code>sample_</code>.</p>
124
-
<p>Run <code>python run.py --ledgers <ledger_1> <ledger_n> --timeframe <timeframe> --aggregate-by <unit to aggregate by></code> to
125
-
analyze the n specified ledgers for the given timeframe, aggregated using the given granularity.
would do it for a single day (Feburary 3rd 2022). Last, <code>--timeframe 2018 2022</code> would run the analysis for the
140
141
entire time period between January 1st 2018 and December 31st 2022. If the <code>timeframe</code> argument is omitted, then
141
142
the start date and end dates of the time frame are sourced from the <code>config.yaml</code> file.</li>
142
-
<li><code>aggregate_by</code> corresponds to the unit of time to aggregate the data by, i.e. the granularity of the analysis.
143
-
It can be one of: <code>day</code>, <code>week</code>, <code>month</code>, <code>year</code>, <code>all</code> and by default it is <code>month</code>. Note that in the case of
144
-
weekly aggregation, we consider a week to be 7 consecutive days, starting from the first day of the time period
145
-
under consideration (so not necessarily Monday to Sunday). If "all" is chosen, then no aggregation will be
146
-
performed, meaning that the given timeframe will be treated as a single unit of time in the context of our
147
-
analysis. In all other cases, the given timeframe will be divided into units of the given granularity and the
148
-
result will be a time series.</li>
143
+
<li><code>estimation_window</code> corresponds to the number of days that will be used to aggregate the data. For example,
144
+
<code>--estimation_window 7</code> means that every data point will use 7 days of blocks to calculate the distribution of
145
+
blocks to entities. If left empty, then the entire time frame will be used (only valid when combined with empty frequency).</li>
146
+
<li><code>frequency</code> determines how frequently to sample the data, in days. If left empty, then only one data point will be
147
+
analyzed (snapshot instead of longitudinal analysis), but this is only valid when combined with an empty estimation_window.</li>
149
148
</ul>
150
149
<p>Additionally, there are three flags that can be used to customize an execution:</p>
0 commit comments