Baselight

Cars, Trucks & Buses Per 1000 Persons

Gapminder datapoints for 'cars_trucks_and_buses_per_1000_persons'

@gapminder.cars_trucks_and_buses_per_1000_persons

Loading...
Loading...

About this Dataset

Cars, Trucks & Buses Per 1000 Persons

Registered four-wheel motor vehicles per 1,000 population. Cars, buses, and freight vehicles but not two-wheelers.

HOW TO JOIN WITH METADATA

• Concepts (labels/units)
– Use the concept id cars_trucks_and_buses_per_1000_persons to look up labels and units in @gapminder.metadata.concepts.
SELECT * FROM @gapminder.metadata.concepts WHERE concept = 'cars_trucks_and_buses_per_1000_persons'.

• Countries and names
– Join your datapoints on geo to @gapminder.metadata.entities_geo_country to get readable country/area names
(e.g., name) and membership attributes such as world_4region, income_groups.

• Regions and other group labels
– After you have a region code from the country table (e.g., world_4region),
you can join to:
· @gapminder.metadata.entities_geo_world_4region on world_4region → region names/colors/shapes
· @gapminder.metadata.entities_geo_world_6region on world_6region → region names
· @gapminder.metadata.entities_geo_income_groups on income_groups → income group names

Example:
SELECT d.time,
c.name AS country,
d.cars_trucks_and_buses_per_1000_persons AS value
FROM @gapminder.cars_trucks_and_buses_per_1000_persons.cars_trucks_and_buses_per_1000_persons_by_geo_time d
LEFT JOIN @gapminder.metadata.entities_geo_country c ON d.geo = c.country;

Tables

Cars, Trucks & Buses Per 1000 Persons → By → Geo → Time

@gapminder.cars_trucks_and_buses_per_1000_persons.cars_trucks_and_buses_per_1000_persons_by_geo_time
  • 6.98 kB
  • 462 rows
  • 3 columns
Loading...
CREATE TABLE cars_trucks_and_buses_per_1000_persons_by_geo_time (
  "geo" VARCHAR,
  "time" BIGINT,
  "cars_trucks_and_buses_per_1000_persons" DOUBLE
);

Share link

Anyone who has the link will be able to view this.