OperatingLocationRank
Description
Indicates how the card revenue of this operating location compares to other operating locations of the same enigma industry within the geographical area.
For example, if Joe's Pizza has a position of 5 and cohort size of 17, this means, of all the pizza restaurants near Joe's Pizza, four locations have higher card revenue and twelve locations have lower card revenue.
The geographic area is defined as the H3 index (resolution 4) of the address of the operating location.
There are a few reasons why an operating location does not have an operating location rank * we're unable to determine the card revenue for the operating location * fewer than ten operating locations with card revenue exist nearby within the same industry (too few businesses to form a cohort)
type OperatingLocationRank implements NodeFunctions {
id: UUID!
firstObservedDate: String
lastObservedDate: String
rank: Int
quantityType: String
period: String
position: Int
cohortSize: Int
periodStartDate: Date
periodEndDate: Date
internalId: String
internalOperatingLocationId: String
count(
field: String!
conditions: Conditions
dataLayer: DataLayer
): Int
countDistinct(
field: String!
conditions: Conditions
): Int
has(
field: String!
conditions: Conditions
): Boolean
sum(
field: String!
conditions: Conditions
): Int
min(
field: String!
conditions: Conditions
): Int
max(
field: String!
conditions: Conditions
): Int
avg(
field: String!
conditions: Conditions
): Float
collect(
field: String!
separator: String
conditions: Conditions
): String
minDateTime(
field: String!
conditions: Conditions
): DateTime
maxDateTime(
field: String!
conditions: Conditions
): DateTime
_fn: JSON
}
Fields
OperatingLocationRank.id ● UUID! non-null scalar
OperatingLocationRank.firstObservedDate ● String scalar
OperatingLocationRank.lastObservedDate ● String scalar
OperatingLocationRank.rank ● Int scalar
Determines the display order of the attribute, with lower values shown first
OperatingLocationRank.quantityType ● String scalar
The quantity we're using to determine the ranking within a cohort. At present, ranks will always be based on card_revenue.
OperatingLocationRank.period ● String scalar
The period we're using to determine the ranking within a cohort. At present, ranks will always be based on the most recent 12m for which revenue is available.
OperatingLocationRank.position ● Int scalar
The absolute position of the operating location relative to its cohort. So if Joe's Pizza is ranked 5 out of 17 for area pizza restaurants, the position will equal 5.
OperatingLocationRank.cohortSize ● Int scalar
The number of operating locations in the cohort. For our Joe's Pizza example (5 of 17), the cohort size is 17.
OperatingLocationRank.periodStartDate ● Date scalar
The date on which the *period* begins. So if *period_start_date* is 2024-01-15 and period is 12m, this means the 12m period we're using to rank the operating location began on Jan 15, 2024.
OperatingLocationRank.periodEndDate ● Date scalar
The date on which the *period* ends. So if *period_end_date* is 2025-01-15 and period is 12m, this means the 12m period we're using to rank the operating location ends on Jan 15, 2025.
OperatingLocationRank.internalId ● String scalar
OperatingLocationRank.internalOperatingLocationId ● String scalar
OperatingLocationRank.count ● Int scalar
OperatingLocationRank.count.field ● String! non-null scalar
OperatingLocationRank.count.conditions ● Conditions input
OperatingLocationRank.count.dataLayer ● DataLayer enum
The layer of records count(field: "records") counts on a search's own legal entities, persons and addresses and on the Record a search with entityType RECORD returns; UNGROUNDED on a legal entity, person or address below a search's own results is an error, and every other count ignores dataLayer. GROUNDED counts the records linked in the graph; UNGROUNDED counts gov-archive store records: on a legal entity, person or address, each record once whose asserted entity's value is wholly, case and separators aside, one of its names or its full address (ACME INC counts no record of ACME INC OF TEXAS), and on that Record, every record the store finds for the search. Without dataLayer, GROUNDED, but on the Record of an UNGROUNDED search the records of both, a record in both counted once. Null, with an error, where the records cannot all be counted, such as past 5 seconds or on a result with more than 20 values.
OperatingLocationRank.countDistinct ● Int scalar
OperatingLocationRank.countDistinct.field ● String! non-null scalar
OperatingLocationRank.countDistinct.conditions ● Conditions input
OperatingLocationRank.has ● Boolean scalar
OperatingLocationRank.has.field ● String! non-null scalar
OperatingLocationRank.has.conditions ● Conditions input
OperatingLocationRank.sum ● Int scalar
OperatingLocationRank.sum.field ● String! non-null scalar
OperatingLocationRank.sum.conditions ● Conditions input
OperatingLocationRank.min ● Int scalar
OperatingLocationRank.min.field ● String! non-null scalar
OperatingLocationRank.min.conditions ● Conditions input
OperatingLocationRank.max ● Int scalar
OperatingLocationRank.max.field ● String! non-null scalar
OperatingLocationRank.max.conditions ● Conditions input
OperatingLocationRank.avg ● Float scalar
OperatingLocationRank.avg.field ● String! non-null scalar
OperatingLocationRank.avg.conditions ● Conditions input
OperatingLocationRank.collect ● String scalar
OperatingLocationRank.collect.field ● String! non-null scalar
OperatingLocationRank.collect.separator ● String scalar
OperatingLocationRank.collect.conditions ● Conditions input
OperatingLocationRank.minDateTime ● DateTime scalar
OperatingLocationRank.minDateTime.field ● String! non-null scalar
OperatingLocationRank.minDateTime.conditions ● Conditions input
OperatingLocationRank.maxDateTime ● DateTime scalar
OperatingLocationRank.maxDateTime.field ● String! non-null scalar
OperatingLocationRank.maxDateTime.conditions ● Conditions input
OperatingLocationRank._fn ● JSON scalar
Interfaces
NodeFunctions interface
Member Of
OperatingLocationRankEdge object