#!/usr/bin/env python
# -*- coding: utf-8 -*-


"""Config file for the cleaning - plotting and notebook process"""


class CleaningConfig:

    # Unprocessed dataset
    raw_data = './dataset/raw_results-survey245554.csv'
    # load the different answers to questions to classify questions based on that
    question_file = '../../../survey_creation/uk_17/uk_17.csv'
    answer_folder = '../../../survey_creation/uk_17/listAnswers'
    # Location for the json file of all questions
    json_to_plot_location = './to_plot.json'
    cleaned_df_location = './dataset/cleaned_data.csv'


class PlottingConfig(CleaningConfig):

    pass


class NotebookConfig(PlottingConfig):

    notebook_folder = './notebooks'
    notebook_filename = '../uk_17.ipynb'
    to_import = ['import pandas as pd',
                 'import numpy as np',
                 'get_ipython().magic("matplotlib inline")',
                 'import matplotlib',
                 'import matplotlib.pyplot as plt',
                 'from config import CleaningConfig, PlottingConfig, NotebookConfig',
                 # 'from frequency import freq_choose',
                 'from plotting import plot_choose']

#!/usr/bin/env python
# -*- coding: utf-8 -*-


"""Config file for the cleaning - plotting and notebook process"""


class CleaningConfig:

    # Unprocessed dataset
    raw_data = './dataset/raw_results-survey245554.csv'
    # load the different answers to questions to classify questions based on that
    question_file = '../../../survey_creation/uk_17/uk_17.csv'
    answer_folder = '../../../survey_creation/uk_17/listAnswers'
    # Location for the json file of all questions
    json_to_plot_location = './to_plot.json'
    cleaned_df_location = './dataset/cleaned_data.csv'


class PlottingConfig(CleaningConfig):

    pass


class NotebookConfig(PlottingConfig):

    notebook_folder = './'
    notebook_filename = 'uk_17.ipynb'
    to_import = ['import pandas as pd',
                 'import numpy as np',
                 'get_ipython().magic("matplotlib inline")',
                 'import matplotlib',
                 'import matplotlib.pyplot as plt',
                 'from config import CleaningConfig, PlottingConfig, NotebookConfig',
                 'from counting import get_count',
                 # 'from frequency import freq_choose',
                 'from plotting import plot_choose']

fix some imports