Policy Models
This manual page provides information about the Equinox Policy Data module. This module helps collect and work with policy data of various types.
Example Fixtures
Covid-19 related policy data (Oxford Database)
CAPMF climate action policies (OECD Database)
- class policy.models.DashBoardParams(id, total_dataflows, total_datasets, tracked_datasets, live_datasets, red_datasets, orange_datasets, yellow_datasets, gray_datasets, country_metadata)
- exception DoesNotExist
- exception MultipleObjectsReturned
- country_metadata
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- gray_datasets
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- live_datasets
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- orange_datasets
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- red_datasets
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- total_dataflows
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- total_datasets
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- tracked_datasets
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- yellow_datasets
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class policy.models.DataFlow(id, name, identifier, short_desc, long_desc, node_url, available_n, regions_n, subregions_n, dimensions, update, dataset_id, tracked, dashboard_n, geo, geoslices, live_n, selectors, category_list, menu_category, freshness, creation_date, last_change_date)
- exception DoesNotExist
- exception MultipleObjectsReturned
- available_n
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- category_list
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- creation_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dashboard_n
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dataset_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dimensions
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- freshness
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- geo
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- geoslices
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_absolute_url()
- get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)
- get_next_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=True, **kwargs)
- get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)
- get_previous_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=False, **kwargs)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- identifier
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_change_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- live_n
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- long_desc
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- menu_category
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- node_url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- regions_n
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- selectors
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- short_desc
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- subregions_n
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- tracked
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- update
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class policy.models.DataSeries(id, identifier, title, title_long, df_name, rest_url, documentation_url, agg_level, frequency, color, region, activity, status, last_observation_date, field_type, dates, values, unit, code_list, metrics, geometry_1D, values_diff, values_diff_p, creation_date, last_change_date)
- exception DoesNotExist
- exception MultipleObjectsReturned
- activity
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- agg_level
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- code_list
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- color
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- creation_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dates
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- df_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- documentation_url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- field_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- frequency
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- geometry_1D
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_absolute_url()
- get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)
- get_next_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=True, **kwargs)
- get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)
- get_previous_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=False, **kwargs)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- identifier
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_change_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_observation_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- metrics
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- region
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rest_url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- title
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- title_long
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- unit
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- values
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- values_diff
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- values_diff_p
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class policy.models.GeoSlice(id, identifier, df_name, short_desc, long_desc, dimensions, dataset_id, creation_date, last_change_date)
- exception DoesNotExist
- exception MultipleObjectsReturned
- creation_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dataset_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- df_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dimensions
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_absolute_url()
- get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)
- get_next_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=True, **kwargs)
- get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)
- get_previous_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=False, **kwargs)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- identifier
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_change_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- long_desc
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- short_desc
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- models.DataSeries(id, identifier, title, title_long, df_name, rest_url, documentation_url, agg_level, frequency, color, region, activity, status, last_observation_date, field_type, dates, values, unit, code_list, metrics, geometry_1D, values_diff, values_diff_p, creation_date, last_change_date)
- models.DataFlow(id, name, identifier, short_desc, long_desc, node_url, available_n, regions_n, subregions_n, dimensions, update, dataset_id, tracked, dashboard_n, geo, geoslices, live_n, selectors, category_list, menu_category, freshness, creation_date, last_change_date)
- models.GeoSlice(id, identifier, df_name, short_desc, long_desc, dimensions, dataset_id, creation_date, last_change_date)