ANVISA (Agencia Nacional de Vigilancia Sanitaria) is Brazil’s health surveillance agency responsible for regulating medicines, health products, food, cosmetics, sanitizers, tobacco, and pesticides. Its open data portal provides CSV files on product registrations, post-market surveillance (pharmacovigilance, hemovigilance, technovigilance), and controlled substance sales (SNGPC).
| Feature | Details |
|---|---|
| Source | HTTPS CSV (dados.anvisa.gov.br) |
| Data types | 14 (12 snapshot + 2 time-series) |
| Snapshot types | Current registry/database state |
| SNGPC types | Monthly controlled substance sales (2014–2026) |
Use anvisa_types() to see all available types:
These download the current snapshot of the registry or database. No
year or month parameter is needed.
| Code | Name | Category |
|---|---|---|
| medicines | Medicamentos | Product Registration |
| medical_devices | Produtos para Saude | Product Registration |
| food | Alimentos | Product Registration |
| cosmetics | Cosmeticos | Product Registration |
| sanitizers | Saneantes | Product Registration |
| tobacco | Produtos Fumigenos | Product Registration |
| pesticides | Agrotoxicos | Reference |
| hemovigilance | Hemovigilancia | Surveillance |
| technovigilance | Tecnovigilancia | Surveillance |
| vigimed_notifications | VigiMed Notificacoes | Surveillance |
| vigimed_medicines | VigiMed Medicamentos | Surveillance |
| vigimed_reactions | VigiMed Reacoes | Surveillance |
These require a year parameter and optionally a
month parameter.
| Code | Name | Availability |
|---|---|---|
| sngpc | SNGPC Industrializados | Jan 2014 – Oct 2021, Jan 2026+ |
| sngpc_compounded | SNGPC Manipulados | Jan 2014 – Oct 2021, Jan 2026+ |
Download the complete registry of medicines approved by ANVISA:
Pesticide monographs list authorized active ingredients and their maximum residue limits (LMR):
Adverse events related to blood transfusions:
Adverse events related to medical devices:
Drug/vaccine adverse event reports are split into three linked
datasets sharing the IDENTIFICACAO_NOTIFICACAO key:
# notifications (patient info + event summary)
notif <- anvisa_data(type = "vigimed_notifications")
# medicines involved
meds <- anvisa_data(type = "vigimed_medicines")
# adverse reactions (MedDRA coded)
reactions <- anvisa_data(type = "vigimed_reactions")
# link notifications to reactions
linked <- notif |>
select(IDENTIFICACAO_NOTIFICACAO, SEXO, IDADE_MOMENTO_REACAO, GRAVE) |>
inner_join(reactions, by = "IDENTIFICACAO_NOTIFICACAO")
# most common reactions
linked |>
count(PT, sort = TRUE) |>
head(20)The SNGPC (Sistema Nacional de Gerenciamento de Produtos Controlados) tracks sales of controlled substances (psychotropics, narcotics) by pharmacies across Brazil.
For large SNGPC queries spanning many months, use lazy evaluation to defer computation:
Use anvisa_variables() to see available variables for
any type:
Downloaded data is cached locally for faster subsequent access: