def upload(file_path, dataset=None, public=False):
config = ApiConfig()<EOL>client = ApiClient(config.host, config.app_id, config.app_secret)<EOL>return client.upload(file_path, dataset, public)<EOL>
Use this function to upload data to Knoema dataset.