Returns a function for getting a generator that fetches places from the given data context.
the current data context
a function for getting a generator that fetches places
Returns a generator for fetching all places with the given type
the type of places to return
a generator for fetching all places with the given type
InvalidArgumentError if no type is provided or if the type is not a supported place contact type
Error if a data context is not provided
Returns a function for getting a generator that fetches places from the given data context.