Returns a function for getting a generator that fetches places from the given data context.
Error if a data context is not provided
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
Error if no type is provided or if the type is not for a place
Returns a function for getting a generator that fetches places from the given data context.
Throws
Error if a data context is not provided