website logo
ChartHop documentation
Carrot reference
Release notes
Navigate through spaces
ChartHop documentation
Carrot reference
Release notes
⌘K
Getting started
Getting started with Carrot
Operator precedence
Filtering with Carrot
Data categories
Basic Org Information
Compensation
Job Changes
Permissions
Personal
Recruiting
Structure
Time off
Data types
Address
Boolean
Comp
Comp Band
Currency
Date
DateTime
DaysOff
Enum
EnumList
File
Group
Image
Job
List
Money
Name
Number
Null
Percent
Person
PersonList
Shares
StockGrant
String
TimeOff
User
Operators
+ (add)
- (subtract)
* (multiply)
/ (divide)
% (modulus)
&& (and)
|| (or)
if
: (match)
= (equals)
!= (not-equals)
! (not)
> (greater-than)
>= (greater-than-equals)
< (less-than)
<= (less-than-equals)
[ ](array)
. (dot)
? (ternary)
?: (elvis)
Functions
abs()
asOf()
boolean()
compHistory()
compBetween()
costBetween()
date()
day()
daysOffBetween()
diffYears()
diffMonths()
distance()
monthEnd()
formatMoney()
formatRound()
formatNumber()
formatPercent()
formatDate()
grantedShares()
length()
max()
mean()
money()
month()
min()
nextAnniversary()
number()
pluralize()
percent()
random()
round()
roundUp()
roundDown()
string()
subString()
stockPrice()
monthStart()
split()
vestValue()
vestShares()
year()
Aggregators
count{}
max{}
mean{}
min{}
sum{}
Docs powered by archbee 
2min

Address

A Carrot datatype used by fields that store location data.

The Address datatype is not currently supported in Custom Fields. Supported uses for the Address datatype are currently limited to the inbuilt address, workAddress, and remoteWorkAddress fields. address and homeAddress are interchangeable.

Properties

The Address datatype supports the following properties:

Property

Definition

workAddress.street1

Returns value for line one of workAddress, ex. 233 S Wacker Dr.

workAddress.street2

Returns value for line two of workAddress, ex. Unit 2805.

workAddress.street3

Returns value for line three of workAddress.

workAddress.city

Returns value for city of workAddress, ex. Chicago.

workAddress.state

Returns value for state of workAddress, ex. Illinois.

workAddress.country

Returns value for country code of workAddress, ex. US.

workAddress.countryName

Returns value for country name of workAddress, ex. United States.

workAddress.postal

Returns value for postal code of workAddress, ex. 60606.

workAddress.lat

Returns value for latitude of workAddress, ex. 41.87901217911454.

workAddress.lng

Returns value for longitude of workAddress, ex. -87.63587198599579.

Sample usage

address.state if address.country:"US" returns the state if the address is in the United States.

Updated 07 Nov 2022
Did this page help you?
Yes
No
UP NEXT
Boolean
Docs powered by archbee 
TABLE OF CONTENTS
Properties
Sample usage