OpenKnowledgeMaps / Headstart

A framework for creating web-based knowledge maps
https://openknowledgemaps.org/
MIT License
195 stars 42 forks source link

Maps based on uploaded .bib files #68

Open Bubblbu opened 8 years ago

Bubblbu commented 8 years ago

Create maps based on .bib files.

This would enable users to create their personal maps based on their literature of choice. Two questions that come to my mind:

sckott commented 7 years ago

@Bubblbu can you show some egs of the problems you're experiencing parsing bib files with R? are the pkgs you've tried just bad at parsing, or also too slow, and/or something else?

Bubblbu commented 7 years ago

I've tried these packages: bibtex and RefManageR

Example bibtex file: https://drive.google.com/open?id=0B39MfmIYPUG5akkwR3hTczNDeUE

Reading in this file with both packages

ReadBib("~/zotero.bib", .Encoding = "UTF-8", header = if (length(preamble))
     paste(preamble, sep = "\n") else "", footer = "",
     check = BibOptions()$check.entries)

causes

Error in ReadBib("~/zotero.bib", .Encoding = "UTF-8", header = if (length(preamble)) paste(preamble,  : 
  lex fatal error:
fatal flex scanner internal error--end of buffer missed

There is already an issue in the bibtex repo: https://github.com/romainfrancois/bibtex/issues/16