powered by
This function removes unnecessary characters such as \\N and ensures that the format of the date and QuadKeys is correct.
\\N
format_fb_data(data, keep_format = NULL)
A data.frame without \N, quadkey without scientific notation and a new column day and hour
\N
quadkey
day
hour
A data.frame with a quadkey and date_time columns and other variables
date_time
Vector of column names, besides date_time, day and quadkey, that you don't want to convert to a number.
read_fb_mobility_files
# \donttest{ data(result_read_fb_mobility_data) format_fb_data(data = result_read_fb_mobility_data) # }
Run the code above in your browser using DataLab