Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why no result #1

Open
tianjinwolaile opened this issue Jun 13, 2024 · 12 comments
Open

why no result #1

tianjinwolaile opened this issue Jun 13, 2024 · 12 comments

Comments

@tianjinwolaile
Copy link

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

@tianjinwolaile
Copy link
Author

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

@SpatLyu
Copy link
Owner

SpatLyu commented Jun 13, 2024

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?

@SpatLyu
Copy link
Owner

SpatLyu commented Jun 13, 2024

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

@tianjinwolaile
Copy link
Author

tianjinwolaile commented Jun 13, 2024 via email

@tianjinwolaile
Copy link
Author

tianjinwolaile commented Jun 13, 2024 via email

@SpatLyu
Copy link
Owner

SpatLyu commented Jun 13, 2024

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

@tianjinwolaile
Copy link
Author

tianjinwolaile commented Jun 13, 2024 via email

@SpatLyu
Copy link
Owner

SpatLyu commented Jun 13, 2024

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).

@SpatLyu
Copy link
Owner

SpatLyu commented Jun 13, 2024

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

@tianjinwolaile
Copy link
Author

tianjinwolaile commented Jun 13, 2024 via email

@SpatLyu
Copy link
Owner

SpatLyu commented Jun 13, 2024

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

@tianjinwolaile
Copy link
Author

tianjinwolaile commented Jun 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants