Packages
{% for pkg_type, pkg_url in distributions.items() %}
{% if pkg_type == 's3' %}- {{pkg_type}} {{pkg_url}}
{%- elif pkg_type != 'fs' -%}- {{pkg_type}} {{pkg_url}}
{% endif %}
{%- endfor %}
{% if distributions.zip or distributions.csv %}
import metapack as mp
{% if distributions.zip -%}
pkg = mp.open_package('{{distributions.zip}}')
{%- elif distributions.csv -%}
pkg = mp.open_package('{{distributions.csv}}')
{%- endif %}
# Create Dataframes
{% for term_name, terms in resources.items() %}
{%- for resource in terms %}
{%- if resource.isgeo -%}
{{resource.name}}_gdf = pkg.resource('{{resource.name}}').geoframe()
{% else -%}
{{resource.name}}_df = pkg.resource('{{resource.name}}').dataframe()
{% endif -%}
{%- endfor -%}
{%- endfor -%}
{%- endif %}