Project

casento

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
The California Academy of Sciences has databased a great deal of their entomological specimen data, but it's generally only available through their own website with no API and no machine-readable export functionality. This gem attempts to ameliorate the situation by scraping data and presenting it in a machine-readable format.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 1.4
~> 5.8
~> 10.0

Runtime

 Project Readme

Description

The California Academy of Sciences has databased a great deal of their entomological specimen data, but it's generally only available through their own website with no API and no machine-readable export functionality. This gem attempts to ameliorate the situation by scraping data and presenting it in a machine- readable format.

Since it is just a scraper it is brittle, but still, better than nothing.

Installation

This is a Ruby gem, so you'll need Ruby and RubyGems installed. Then:

gem install casento

or if you just want to build and install locally:

git clone git@github.com:kueda/casento.git
cd casento
gem build casento.gemspec
gem install casento-x.x.x.gem

Examples

casento help should get you started, but here are some ways I use it:

# List all records of Hemipenthes in California
casento checklist Hemipenthes --state California --country U.S.A.

# Export a checklist of all bee fly genera from California to CSV
casento checklist Bombyliidae --state California --country U.S.A. --rank genus -f csv > bombyliidae-genera-ca.csv