Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am lagoan on github.
  • I am lagoan (https://keybase.io/lagoan) on keybase.
  • I have a public key whose fingerprint is B2F5 8D0B BEAF 6704 1004 2384 E90D 3658 B8E7 F464

To claim this, I am signing this object:

@lagoan
lagoan / era_date_problem_check.rb
Created December 1, 2022 17:22
Script used to generate report on ERA Item's with potential problems in created date field.
# frozen_string_literal: true
# Run report to find items in which dates where modified by adding the month 01
# and/or the day 01
class DateReportGenerator
def initialize
@root_directory = './era_audit/'
# Looking for dates in formats YYYY-MM-DD, YYYY-MM, YYYY
@date_format = /^(\d{4})(?:-(\d{2}))?(?:-(\d{2}))?$/
@errors = []
@lagoan
lagoan / _README.md
Created November 25, 2024 18:18 — forked from pgwillia/_README.md
Preparing ERA Data for DSpace

The Ask

March 2022, Weiwei asked,

We are looking to create an extract of around 4 dozen items in ERA as sample data for Atmire to evaluate and propose for migration charges. See Leah's message below. I wonder if this could be something you coordinate with Leah and someone from the metadata team? You are probably the one who has the most comprehensive knowledge of ERA and the history of some of these items?

Ignace Deroost of Atmire said,

A CSV format usually works best. So if you could export your samples in CSV that would be great!

From our DSpace investigation I had observed a csv export from their software (dspace_sample_export)

The Work