You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to get municipal soy planted area for a specific state. If I filter for MS state (geo.filter('State' = 50) it works. But for MT state (geo.filter('State' = 51), some other data comes in.
My test code:
library(sidrar)
# getting soy planted area for municipalities in MS statedados<- get_sidra(1612,
variable= c(109),
geo='City',
geo.filter=list("State"=50),
classific='c81',
category=list('2713'))
uf<- sapply(strsplit(dados$Município, " - "), function (x) x[2])
table(uf)
# uf# MS # 79 # now getting soy planted area for municipalities in MT statedados<- get_sidra(1612,
variable= c(109),
geo='City',
geo.filter=list("State"=51),
classific='c81',
category=list('2713'))
uf<- sapply(strsplit(dados$Município, " - "), function (x) x[2])
# data from MS and RO in the response
table(uf)
# uf# MS MT RO # 55 141 1
The text was updated successfully, but these errors were encountered:
Trying to get municipal soy planted area for a specific state. If I filter for MS state
(geo.filter('State' = 50)
it works. But for MT state(geo.filter('State' = 51)
, some other data comes in.My test code:
The text was updated successfully, but these errors were encountered: