Closed knaaptime closed 5 years ago
we get this for free, basically, if we just use cenpy's products.from_place
and pass the result to any of the Community constructors' boundary
argument
we could implement a new from_place
constructor which would do that behind the scenes, or we could just allow a place
argument in the existing constructors, which might be handy
or, we could just show examples that use something like, e.g.
boundary = cenpy.products.from_place(...)
geosnap.Community.from_census(boundary=boundary)
instead of trying to do it all inside the community constructor. Currently I'm leaning toward this approach
i think its better to do this in a clear example using cenpy rather than try to get too clever with the constructors
we could use fuzzywuzzy or similar to add a named-place based api similar to what cenpy and osmnx do