The following treatments are performed:

  • In the element detail, a matrix gives for each commune (rows), the count of all procedures depending on their state (columns). The column NA is always given even if, normally, it should stay at 0 for each commune.

  • In the element summary, from the information in element detail, a state at the commune is given. It is performed this way: if one document is in state "use", the commune is in state "use", otherwise if one document is in state "progress", the commune is in state "progress", otherwise if one document is in state "cancelled", the commune is in state "cancelled", otherwise if one document is in state "unknown", the commune is in state "unknown", otherwise the commune's state is NA.

analyse_ppr(ppr)

Arguments

ppr

data.frame, data to be analysed

Value

A list of analysis (detail, summary)

Author

Frédéric Grelot