# earth Earth is a collection of *data models* that represent various things found here on Earth, such as countries, automobiles, aircraft, zip codes, and pet breeds. By default the data that these models represent is pulled from [Brighter Planet's open reference data site](http://data.brighterplanet.com) using the [taps gem](http://rubygems.org/gems/taps). The data can also be imported directly from preconfigured authoritative sources. ## Usage ``` ruby require 'earth' require 'earth/automobile/automobile_fuel' Earth.init ft = AutomobileFuel.first # ... ``` `Earth.init` prepares the environment to load and download data for each data model. You can load all data models at once with `Earth.init :all`. There are several other options to `init` that configure data mining sources and database connections. See the [rdocs](http://rdoc.info/github/brighterplanet/earth) for more details on the Earth module. ### Data model categories
Category | Models |
---|---|
:air |
Aircraft, Airline, Airport ... |
:automobile |
AutomobileFuel, AutomobileMake, AutomobileModel ... |
:bus |
BusClass, BusFuel ... |
:computation |
ComputationCarrier, ComputationCarrierInstanceClass ... |
:diet |
DietClass, FoodGroup ... |
:fuel |
Fuel, FuelPrice, GreenhouseGas ... |
:hospitality |
LodgingClass, CommercialBuildingEnergyConsumptionSurveyResponse ... |
:industry |
Industry, CbecsEnergyIntensity ... |
:locality |
CensusDivision, Country, ZipCode ... |
:pet |
Breed, Gender, Species ... |
:rail |
RailClass, RailFuel, RailCompany ... |
:residence |
Urbanity, ResidenceClass, AirConditionerUse |
:shipping |
Carrier, ShipmentMode ... |