format_fb_data {quadkeyr}R Documentation

Format the Facebook mobility data

Description

This function removes unnecessary characters such as ⁠\\N⁠ and ensures that the format of the date and QuadKeys is correct.

Usage

format_fb_data(data, keep_format = NULL)

Arguments

data

A data.frame with a quadkey and date_time columns and other variables

keep_format

Vector of column names, besides date_time, day and quadkey, that you don't want to convert to a number.

Value

A data.frame without ⁠\N⁠, quadkey without scientific notation and a new column day and hour

See Also

read_fb_mobility_files

Examples


data(result_read_fb_mobility_data)
format_fb_data(data = result_read_fb_mobility_data)


[Package quadkeyr version 0.1.0 Index]