def fieldmap(table, mappings=None, failonerror=False, errorvalue=None):

    return FieldMapView(table, mappings=mappings, failonerror=failonerror,
                        errorvalue=errorvalue)
Will return a dict with Google JSON structure for charts
dataset/ETHPy150Open alimanfoo/petl/petl/transform/maps.py/fieldmap--crossover with--dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/models/group.py/BaseProcessData.to_json