api-python icon indicating copy to clipboard operation
api-python copied to clipboard

get_property_values should have a setting for no limit

Open lukesmurray opened this issue 6 years ago • 0 comments

There is no way to set the parameter limit in get_property_values so that all property values are returned. I came across this issue when I was trying to get schools from school districts. I have a list of all the school districts in New York City and I want to get all the schools in those school districts.

dc.get_property_values(pd.Series(school_district), 'schoolDistrict', False)

If this call returns 100 schools I have no way of knowing if there are more than 100 schools without issuing the call again with a higher number as the limit.

Other libraries allow for limits to be eliminated using a setting of -1.

lukesmurray avatar Aug 08 '19 18:08 lukesmurray