ipeaGIT / geobr

Easy access to official spatial data sets of Brazil in R and Python
https://ipeagit.github.io/geobr/
786 stars 118 forks source link

Error to get data #281

Closed mdecalves closed 2 years ago

mdecalves commented 2 years ago

Dear respected, geobr is not working to get data. When using a function read_state, for example, we are getting the following error:

state <- read_state(code_state="SE", year=2018) Error in read.table(file = file, header = header, sep = sep, quote = quote, : no lines available in input

Could someone help us solving this problem? Best regards, Marcelo

rafapereirabr commented 2 years ago

Hi Marcelo. Please restart your R session and check if the problem persists.

mdecalves commented 2 years ago

Dear Rafael, After restarting the function work as well as the read_municipality function. thank you very much for your prompt response. All the best, Marcelo

rafapereirabr commented 2 years ago

Great. I'm glad to help.