Description Usage Arguments Value Credit Note Author(s) See Also Examples
Read CSV file in directory and bind data to a data frame.
1 2 3 | dir_add_csv(
tracks, dir, merge_by = "id"
)
|
tracks |
|
dir |
The path to the CSV file. |
merge_by |
The column in the data_frame and the CSV file that is used to merge the data. |
Data frame
If you use 'psyosphere' for commercial use or research, please support us by include one off the following references:
MIT license: "psyosphere" by B. Ziepert, E. G. Ufkes & P. W. de Vries from https://CRAN.R-project.org/package=psyosphere
APA: Ziepert, B., Ufkes, E., & de Vries, P. W. (2018). psyosphere: Analyse GPS Data. Retrieved from https://CRAN.R-project.org/package=psyosphere
APA: Vries, P., Ziepert, B., & Ufkes, E. (2016). "De psychologie van bewegingen GPS-technologie voor de analyse van natuurlijk gedrag." Tijdschrift voor Human Factors 2: 11-15.
The function ignores multiple segments in the GPX file. If you want to find the gaps between the segments you could use the functions t_time_difference
and mark_time_gaps.
Further does the function sort the data by time.
Benjamin Ziepert
1 2 3 4 5 6 | ## Not run:
data(psyo)
csv_dir <- system.file("extdata", "ids.csv", package = "psyosphere")
psyo <- dir_add_csv(psyo, csv_dir)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.