load_data | R Documentation |
Load the cleaned and jittered data. Optionally do various cleaning/data prep tasks. #' @export
load_data( google_id, local_path = NULL, dedup = FALSE, drop_missing_coords = FALSE, to_numeric = FALSE, N = 0 )
google_id |
(str) Google file ID. File must be set to shareable via link. |
local_path |
(str) (Optional) Local path to the data. |
dedup |
(bool) (Optional) Whether or not to remove duplicate rows (occurs when someone moves) |
drop_missing_coords |
(bool) (Optional) Whether or not to drop rows with missing X/Y coordinates |
to_numeric |
(bool) (Optional) Whether or not to convert character columns (gender) to numeric |
N |
(int) (Optional) A positive integer indicating the years to keep for each person |
(data.frame) A data frame of people
load_data('abc123', dedup=TRUE, drop_missing_coords=FALSE, ...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.