Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.77 KB

README.md

File metadata and controls

37 lines (21 loc) · 1.77 KB

INMET_Codes

Codes in Stata to extract the raw data provided by the INMET - Instituto Nacional de Meteorologia and generate a database in .dta format collapsed at the year and municipality level.

The data cover monthly information from 1960 to 2018. The raw data is stored in the the folder input.

Raw data

The raw data is text files (.txt) that have been downloaded from INMET and are stored in the folder input. Specifically:

Stata codes

The codes are stored in the folder code.

How to reproduce

  • You must generate a folder (give a name) with additional 4 folders contained within: input, output, code, tmp.
  • Save raw data in input
  • Save Stata codes in code
  • Edit your path folder between lines 16 - 22 in the code inmet.do.
  • Run the code inmet.do
  • It generates a database inmet.dta in the folder output

Variables

alt text