Learn R Programming

psyosphere (version 0.1.6)

dir_get_gpx: Read GPX files from directory into data frame.

Description

Read GPX files from directory into data frame.

Usage

dir_get_gpx(dir, tz = "")

Arguments

dir

character. The directory of the GPX files relative to the working directory.

tz

character. The time zone for the time stamp of the coordinates.

Value

Data frame as psyo.

Credit

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.

Details

To avoid problems with the time zone it is advisable to set it. Otherwise the system time is used and this can result in different times on different computers. See timezones.

See Also

dir_add_csv, timezones

Examples

Run this code
# NOT RUN {
\dontrun{
gpx_dir <- system.file("extdata", package="psyosphere")
psyo_rounds <- dir_get_gpx(gpx_dir, tz="MET")
}
# }

Run the code above in your browser using DataLab