UK Data: Maths and working days
v1.4.0Safe maths and statistics, and UK working-day arithmetic using official bank holidays
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
calculate
Evaluate an expression (+ - * / ^ %, sqrt, ln, log, round, min, max, pi) or summary statistics of a list of numbers. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
expression | string | string |
values | array or comma list of numbers |
working_days
UK working days between two dates, or the date N working days after/before a date, skipping weekends and bank holidays. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
addDays | number | string | number |
division | string | england-and-wales|scotland|northern-ireland |
from | string | YYYY-MM-DD, required |
to | string | YYYY-MM-DD |