Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.

ln(...)

ln(...)

Returns the natural log of a number

Works with the following datatypes:

This function works with 2.1 endpoint(s). What does this mean? »

The ln(...) function returns the natural log of a number or set of numbers (Numbers). For example, to fetch the natural log of salaries for 5 employees in the City of Chicago whose salaries are greater than or equal to 1:

https://data.cityofchicago.org/resource/tt4n-kn4t.json?$select=ln(annual_salary)&$where=annual_salary>=1&$limit=5