Skip to content

Science-for-Nature-and-People/evidence-based-heatmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNAPP Evidence based - Gaps Heatmap

Codes generated by NCEAS Scientific computing team to create an interactive heatmap from bibliographical database created by the SNAPP Evidence based working group through systematic review of nature conservation interventions and outcomes.

The D3 Heatmap code: heatmap.html

The Bibliography: Biblio/

The R codes to generate the necessary master file read by the heatmap:

  • get_dois.R : getdoi() ping the crossref API to find matches to a specific title. It allows by default 5 trials with 5 sec. interval as the API is sometimes not responsive. Require the rcrossref package.
  • map_dois.R : relies on getdoi() to loop through a vector of titles and store the DOI, formatted title, full citation and the original title. Also check if the original title and the formatted title are identical or not. Finally export the results as a csv.
  • DOI_fuction.R : join the DOIs to the evidence based database to create the file used by the D3 heatmap to render the heatmap. Also creates the references pages and bibliographic data.

This interactive heatmap is part of the main data portal Evidence for Nature and People: http://natureandpeopleevidence.org/ebc-dataportal-current/

About

code for creating the heat map using D3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages