def jurisdiction_mappings(self, filename=None):
        """
        Retrieve jurisdictional mappings based on OCD IDs.

        Args:
            filename: Filename of the CSV file containing jurisdictional
            mappings.  Default is
            openelex/us/{state_abbrev}/mappings/{state_abbrev}.csv.

        Returns:
            A list of dictionaries containing jurisdiction Open Civic Data
            identifiers, jurisdiction names and other metadata about
            the jurisdiction.  The return dictionaries include a
            value for each column in the input CSV.

            Example jurisdiction mapping dictionary:

            ```
            {
                'ocd_id': 'ocd-division/country:us/state:ar/county:washington',
                'fips': '05143',
                'name': 'Washington'
            }
            ```

        """
        try:
            return self._cached_jurisdiction_mappings
        except __HOLE__:
            if filename is None:
                filename = join(self.mappings_dir, self.state + '.csv')

            with open(filename, 'rU') as csvfile:
                reader = unicodecsv.DictReader(csvfile)
                self._cached_jurisdiction_mappings = [row for row in reader]

            return self._cached_jurisdiction_mappings
dataset/ETHPy150Open openelections/openelections-core/openelex/base/datasource.py/BaseDatasource.jurisdiction_mappings