gbif / hp-living-norway

Living Norway Ecological Data Network is facilitating FAIR management of ecological data to the benefit of society and science; https://livingnorway.no/
1 stars 0 forks source link

R code for downloading data - tab #28

Closed DrMattG closed 2 years ago

DrMattG commented 2 years ago

The code is here: https://gist.github.com/DrMattG/93f740e90e502c83130dbadfdf10fd88 We use the term datasetKey in the code - is that the correct word? If not I can change it quickly.

siwelisabeth commented 2 years ago

@DrMattG Thank you. I think datasetKey will work fine. Then I just replace all the datasetKey guids in the code with the one from the current dataset?

DrMattG commented 2 years ago

Yes exactly! Thanks (I see that I have used two keys for different datasets in the example - I think just replacing them all makes sense... sorry I was tired!)

siwelisabeth commented 2 years ago

Great :-) I will send you a notice when it is in the staging environment in the portal, so you can take a look :-)

siwelisabeth commented 2 years ago

@DrMattG Your R-code is on the portal :-) https://hp-living-norway.gbif-staging.org/ - you find it on a dataset page, the R code tab. Please let me know if you want some changes or if you see something that is not as it should be.