readAppearances: Input of appearances

Description Usage Arguments Value Author(s) See Also Examples

Description

Reads a file containing the appearances in table format, and returns a list of data frame(s) from it.

Usage

1
readAppearances(file, verbose = 1)

Arguments

file

the name of the file which the data are to be read from. The content of this file should correspond to urban temporalities as read by readTemporalities(), with one row per event. The first line (header) should contain column names, and columns should be separated by a tabulation:

  • first column: should be named "space";

  • second column: should be named "event";

  • third column: should be named "color" (choose among all possibilities as explained here and there);

  • (optional) fourth column: should be named "density".

verbose

verbosity level (0/1/2)

Value

list of data frame(s), one per space type

Author(s)

Timothee Flutre

See Also

readTemporalities(), plotTemporalities()

Examples

1
2
3
4
5
6
## retrieve the path to the example color file provided with the package
f2 <- system.file("extdata", "Gibert_2014_colors-PhD-thesis.tsv",
                  package="UrbanTempo")

## read the file
app <- readAppearances(file=f2)

marieflutre/UrbanTempo documentation built on June 14, 2019, 4:06 p.m.