SpatLyu/tidyrgeoda

why no result

Opened this issue · 12 comments

tidyrgeoda::read_geoda(file_path="D:\R_library\trypackage\mvstats\inst\extdata\中华人民共和国.gal")
i have waited for a long time ,but there is no result,why?
image

there is no error or warning ,it is my file have error?

tidyrgeoda invokes rgeoda to do local spatial autocorrelation statistics.

When you use read_geoda, you actually call read_gal read_gwt read_swm in rgeoda. You can try it use rgeoda::read_gal.

I guess it's a problem with your gal file. How did you get the gal file?

Try to open it in GeoDa or any other GUI software to determine if there is a problem with your file.

Good. can you try to test whether it can be used in GeoDa GUI software?

tidyrgeoda::read_geoda(file_path="D:\R_library\trypackage\mvstats\inst\extdata\中华人民共和国.gal") i have waited for a long time ,but there is no result,why? image

The problem is that id_vec is not synchronized when reading and writing. The GeoDa desktop should use a default id_vec but tidyrgeoda uses tibble::tibble(id_v = 1:wt$num_obs).

I make a new release of tidyrgeoda, wait a little time

I have tried a lot,I am now certain that the bug is from the rgeoda package see [here](GeoDaCenter/rgeoda#47), but this does not affect the main functionality of rgeoda and tidyrgeoda