Closed ricardoi closed 4 months ago
@krishnakeshav, could you check these issues?
geohabnet::sensitivity_analysis()
works on my Windows laptop.
Your analysis of betweenness centrality in avocado_result
works for me, but displays the error you are mentioning. That would be an issue for betweenness calculation, which provides only one value (so a continuous legend makes no sense). We are still working on the best way to calculate betweenness centrality in cropland connectivity. @ricardoi, could you use closeness or any other network metrics? It seems that the other metrics are working okay.
@ricardoi, please try geodata::monfredaCrops()
. I see blueberry and cherry in the list of crops available in Monfreda et al. (2008). @krishnakeshav, could we change the error message for monfredaCrops()?
Hi @AaronPlex,
I am working on Mac OS and Ubuntu Linux (to install geohabnet
in Linux, you need to install via apt
gdal-bin && r-cran-sf ).
The issue with geohabnet::sensitivity_analysis()
on Mac OS was a problem with rnaturalearthdata
. Reinstalling that solved the problem.
Closeness centrality worked. To avoid that error, the example should probably have closeness instead of betweenness—or document the issue with the betweenness calculation.
monfredaCrops() does not work, but geodata::monfredaCrops() worked.
Thanks.
Hey @ricardoi , @AaronPlex , Also checkout geohabnet::crop_search()
. This is more robust and future oriented.
I am closing this issue since it seems to be resolved. Thanks for your feedback.
Hello,
I was exploring the package last week, and I had these issues:
I also tried the example for avocado, changing the potato to avocado, and got an error. For "potato," it kind of worked.
similar for this: