Description Usage Arguments Value Author(s) See Also Examples
Reads a file containing urban temporalities in table format and returns a list of data frame(s) from it.
1 | readTemporalities(file, duration.event = 60, verbose = 1)
|
file |
the name of the file which the data are to be read from. Space types are in columns and each row corresponds to a specific time. The first line (header) should contain column names, and columns should be separated by a tabulation:
|
duration.event |
duration of a ponctual event, in seconds |
verbose |
verbosity level (0/1/2) |
list of data frame(s), one per space type
Timothee Flutre
readAppearances()
, plotTemporalities()
1 2 3 4 5 6 7 8 9 | ## retrieve the path to the example data file provided with the package
f1 <- system.file("extdata", "Gibert_2014_data-PhD-thesis.tsv",
package="UrbanTempo")
## read the file
tpr <- readTemporalities(file=f1)
## for each space type, look at its temporality types
lapply(tpr, function(x){unique(x$id)})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.