class RayyanFormats::Plugins::CSV

Constants

MAX_CSV_ROWS_DETECT

Private Class Methods

article_ids_headers() click to toggle source
# File lib/rayyan-formats-core/plugins/csv.rb, line 120
def article_ids_headers
  %i[pubmed_id pmc_id]
end
emit_header() click to toggle source
# File lib/rayyan-formats-core/plugins/csv.rb, line 124
def emit_header
  ([
    "key",
    "title",
    "year",
    "month",
    "day",
    "journal",
    "issn",
    "volume",
    "issue",
    "pages",
    "authors",
    "url",
    "language",
    "publisher",
    "location",
    "abstract",
    "notes",
  ] + article_ids_headers.map(&:to_s)
  ).to_csv
end