BigQuery requires that names be letters, underscores, or numbers. This function returns a data.frame with column names that conform to that standard.

fixColnamesForBigQuery(df)

Arguments

df
a data.frame or data.frame-like object