Functions
Useful functions for the Dashkit Excel add-in
by Dashkit
- Version 0.4.0
This SQLite extension enhances the Dashkit Excel add-in by adding general-purpose functions designed to streamline common tasks, such as standardizing country codes and names, and converting currencies using historical exchange rates.
Functions 9
true
or yes
, into
numeric boolean flag of 1
for true and 0
for false.
Returns null
when value is not recognized.
dash_bool_name( string text ) ⭢ string
Turn string into boolean name1
or yes
, into
boolean name true
or false
. Returns null
when value is
not recognized.
dash_continent_name( string text ) ⭢ string
Turn string into continent namenull
when value is not recognized.
dash_country_code( string text ) ⭢ string
Turn string into ISO 3166-1 alpha-3 country codenull
when value is not recognized.
dash_country_name( string text ) ⭢ string
Turn string into a country namenull
when value is not recognized.
dash_currency_code( string text ) ⭢ string
Turn string into ISO 4217 currency codenull
when value is not recognized.
dash_currency_rate( string text ) ⭢ float
Get historical foreign currency exchange rateGet historical foreign currency exchange rates for specified ISO 4217 currency symbols and target dates using a freeform search. The returned value is the historical End Of Day (EOD) exchange rate.
Supports conversion for 32 base currencies and 172 target currencies, with data available for up to 120 days in the past, up to yesterday.
Returns null
when no data is found. Raises an error when
search string could not be parsed.
dash_date( string text ) ⭢ string
Turn string into datedash_dates( string start , string stop ) ⭢ [string]
Turn strings into date seriesFAQ
For any questions, support, or feedback regarding this extension, please contact support