situas_reports_metadata.RdInternal dataset containing metadata about all available SITUAS API reports. This data is used internally by package functions to validate report IDs, provide helpful error messages, and determine report types.
A data.table with the following columns:
Integer. Report ID (function number) used in API calls
Character. Full title of the report in Italian
Character. Validity period of the report (format: DD/MM/YYYY - DD/MM/YYYY)
Character. Type of temporal analysis:
DATA: Single date parameter
PERIODO: Date range parameters (start and end)
ATTUALIZZAZIONE: Actualization/translation (uses date range like PERIODO)
Character. Additional information about the report (may be NA)
This dataset is stored in R/sysdata.rda and is not exported to package users.
It is automatically loaded when the package is loaded and is available to all
internal package functions.
The data originates from the situas_api.xlsx file and is processed by
the data-raw/prepare_reports_data.R script. To update this data when
new reports are added to the SITUAS API, update the Excel file and re-run
the preparation script.
For API calls:
DATA reports: Use single pdata parameter
PERIODO reports: Use pdatada (start) and pdataa (end)
ATTUALIZZAZIONE reports: Treated as PERIODO (use date range)