Packages
{% for pkg_type, pkg_url in distributions.items() -%}
{% if pkg_type != 'fs' %}- {{pkg_type}}
{{pkg_url}}
{% endif %}
{%- endfor %}
{% if distributions.zip or distributions.csv %}
import metapack as mp
{% if distributions.zip %}# ZIP Package
pkg = mp.open_package('{{distributions.zip}}'){% endif %}
{% if distributions.csv %}# CSV Package
pkg = mp.open_package('{{distributions.csv}}') {% endif %}
resource = pkg.resource('resource_name') # Get a resource
df = resource.dataframe() # Create a pandas Dataframe
gdf = resource.geoframe() # Create a GeoPandas GeoDataFrame
{%- endif %}