original_docstring: 
      Generate a dataset name for a given course_id
      BigQuery disallows certain characters in table names, e.g. "-" and "."
      Use this function to keep our mapping centralized and consistent.
      
docstring: Generate a dataset name for a given course_id
  BigQuery disallows certain characters in table names, e.g. "-" and "."
  Use this function to keep our mapping centralized and consistent.
docstring_tokens: Generate a dataset name for a given course_id BigQuery disallows certain characters in table names e . g . " - " and " . " Use this function to keep our mapping centralized and consistent .
code: def course_id2dataset(course_id, dtype=None, use_dataset_latest=False):
      '''
      Generate a dataset name for a given course_id
      BigQuery disallows certain characters in table names, e.g. "-" and "."
      Use this function to keep our mapping centralized and consistent.
      '''
      dataset = course_id.replace('/','__').replace('.','_')	# dataset_id is same as course_dir but with "." -> "_"
      dataset = dataset.replace('-','_')				# also "." -> "_"
      if dtype=='logs':
          dataset += "_logs"
      elif dtype=='pcday':
          dataset += "_pcday"
      elif use_dataset_latest:	# used to store the latest SQL data
          dataset += "_latest"
      return dataset		# default dataset for SQL data
code_tokens: def course_id2dataset ( course_id , dtype = None , use_dataset_latest = False ) : dataset = course_id . replace ( '/' , '__' ) . replace ( '.' , '_' ) dataset = dataset . replace ( '-' , '_' ) if dtype == 'logs' : dataset += "_logs" elif dtype == 'pcday' : dataset += "_pcday" elif use_dataset_latest : dataset += "_latest" return dataset
short_docstring: Generate a dataset name for a given course_id
  BigQuery disallows certain characters in table names, e.g.
short_docstring_tokens: Generate a dataset name for a given course_id BigQuery disallows certain characters in table names e . g .
comment: '''
      Generate a dataset name for a given course_id
      BigQuery disallows certain characters in table names, e.g. "-" and "."
      Use this function to keep our mapping centralized and consistent.
      '''$SEP$# dataset_id is same as course_dir but with "." -> "_"$SEP$# also "." -> "_"$SEP$# used to store the latest SQL data$SEP$# default dataset for SQL data