faers_time_trend
Compute yearly reporting trends for a specified drug from FDA adverse event data, aggregated by receivedate year to reveal patterns over time.
Instructions
Yearly reporting trend for a drug, aggregated from receivedate.
count=receivedate returns a complete date histogram irrespective of limit, so the yearly rollup is exact. Date buckets arrive keyed "time", not "term".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | MedDRA preferred terms, e.g. ['PANCREATITIS']. Case-insensitive. | |
| date_to | No | End of a receivedate window, YYYYMMDD. Must be paired with date_from. | |
| date_from | No | Start of a receivedate window, YYYYMMDD. Must be paired with date_to. | |
| drug_name | Yes | Active substance name, e.g. 'EMPAGLIFLOZIN'. | |
| raw_filter | No | Extra Lucene clause ANDed onto the preset query, e.g. 'patient.patientsex:2'. Applied to every marginal of a contingency table. See faers_describe_fields. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||