lucasmation / microdadosBrasil

Reads most common Brazilian public microdata (CENSO, PNAD, etc) easy and fast
164 stars 59 forks source link

RAIS import dictionaries #188

Open joanvjoseph opened 4 years ago

joanvjoseph commented 4 years ago

Hi, are the RAIS dictionaries not available? I'm getting this error with the code below, but am able get the dictionaries for PME and PNAD.

get_import_dictionary(dataset = "RAIS",i = 2000, ft = "estabelecimentos")

Error: Period not available. The available periods for this dataset are these:

nicolassoarespinto commented 4 years ago

There are dictionaries only for datasets that are in the fixed width file format ( so the dictionaries are actually needed to import the dataset). RAIS files are simple comma separated files

joanvjoseph commented 4 years ago

Got it, thanks.