Q: Locally download and prepare microdata I ask for help regarding the use of the function to work with data from the PNS (National Health Survey)
Help me understand a initial result... such as:
" # people with self evaluated health good or very good  
      x$saude_b_mb <- as.numeric( x$n001 %in% c( '1' , '2' ) )"

I was able to install the lodown  package and the function that you provide in:
https://rdrr.io/github/ajdamico/lodown/src/R/pns.R#sym-get_catalog_pns 
I think that my problem is specifically in output_dir. 

