geosnap.data.Community.from_geodataframes

classmethod Community.from_geodataframes(gdfs=None)[source]

Create a new Community from a list of geodataframes.

Parameters
gdfslist-like

list of geodataframes that hold attribute and geometry data for a study area. Each geodataframe must have neighborhood attribute data, geometry data, and a time column that defines how the geodataframes are sequenced. The geometries may be stable over time (in which case the dataset is harmonized) or may be unique for each time. If the data are harmonized, the dataframes must also have an ID variable that indexes neighborhood units over time.