Skip to contents

Create a calendar of project impacts

Usage

calendarize_impact(exposition, reference, cost)

Arguments

exposition

list, calendars of exposition for different projects.

reference

character or integer, wich exposition shall be considered as the reference.

cost

to be specified

Value

list of calendar impacts for damage, employee and inhabitants, reducing all sectors.

Details

The function computes the calendar of impacts, considered as the difference between a reference situation and a projected situation. The differences included are those for damage, number of inhabitants, and number of employees.

The function takes into account how data should be stored. exposition should be a list of calendars of exposition containing the reference one. For each calendar of exposition, the structure must be organized by sectors in a consistent way (same order). If not, errors may occur because of bad dimensions, or worse, inconsistent results will be returned.

Using calendarize_exposition() to prepare the calendar of exposition should avoid these problems from occurring.

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org