lib/eia/ibge.rb in eia-1.0.0 vs lib/eia/ibge.rb in eia-1.0.1
- old
+ new
@@ -66,12 +66,12 @@
output = JSON.parse(json_string)
heading = output.delete_at(0)
identifier = heading["D1C"]
if identifier.include? "Trimestre Móvel" then
- periodicity = 5
+ periodicity = 4
elsif identifier.include? "Ano" then
- periodicity = 6
+ periodicity = 5
else
puts "Error! Unexpected case! Found is: #{identifier}. Report to the dev team."
return Array.new
end