Skip to contents

Export VIGIAR data to CSV

Usage

vigiar_exportar_csv(dados, caminho, overwrite = FALSE, ...)

Arguments

dados

A processed VIGIAR tibble.

caminho

File path (directory will be created if needed).

overwrite

If FALSE, errors if file exists.

...

Additional arguments passed to utils::write.csv().

Value

Invisibly, the file path.

Examples

tmp <- tempfile(fileext = ".csv")
vigiar_exportar_csv(pm25_rj_sample, tmp)
#> Dados exportados: /tmp/RtmpQEwbbh/file1a119cc4832.csv