`prepare_action_value()` prepares values of actions and yields for each crop
in `typo`.
Usage
prepare_action_value(path, typo)
Arguments
- path
character, path where to find action values.
- typo
data.frame of crop typology.
Value
csv files of cost of actions, sale price and yield for each crop in
`typo`
Details
`prepare_action_value()` uses the order of elements in
`path[["extent"]]` to extract action values and yields for each crop in
coherence with `typo`.
If `typo` is missing, it will be read from the "floodam.csv" file in the
first extent of `path[["extent"]]`.