Barcelona Data Sets
Administration, Urban environment, Population, Territory, Economy and Business
@kaggle.xvivancos_barcelona_data_sets
Administration, Urban environment, Population, Territory, Economy and Business
@kaggle.xvivancos_barcelona_data_sets
Data sets from the Open Data BCN portal, the Ajuntament de Barcelona's open data service.
Open Data BCN, a project that was born in 2010, implementing the portal in 2011, has evolved and is now part of the Barcelona Ciutat Digital strategy, fostering a pluralistic digital economy and developing a new model of urban innovation based on the transformation and digital innovation of the public sector and the implication among companies, administrations, the academic world, organizations, communities and people, with a clear public and citizen leadership.
You can check out more information about this amazing project in the following links:
Demography
births.csv. Births by nationalities and by neighbourhoods of the city of Barcelona (2013-2017).
deaths.csv. Deaths by quinquennial ages and by neighbourhoods of the city of Barcelona (2015-2017).
population.csv. Population by neighbourhood, by quinquennial ages and by genre of the city of Barcelona (2013-2017). Reading registers of inhabitants.
unemployment.csv. Registered unemployement by neighbourhood and genre in the city of Barcelona (2013-2017).
immigrants_by_nationality.csv. Immigrants by nationality and by neighbourhoods of the city of Barcelona (2015-2017).
immigrants_emigrants_by_age.csv. Immigrants and emigrants by quinquennial ages and by neighbourhood of the city of Barcelona (2015-2017).
immigrants_emigrants_by_destination.csv. Immigrants and emigrants by place of origin and destination, respectively (2017).
immigrants_emigrants_by_destination2.csv. Immigrants and emigrants by place of origin and destination, respectively, and by neighbourhoods of the city of Barcelona (2017).
immigrants_emigrants_by_sex.csv. Immigrants and emigrants by sex by neighbourhoods of the city of Barcelona (2013-2017).
most_frequent_baby_names.csv. 25 Most common baby names in Barcelona, disaggregated by sex. Years 1996-2016.
most_frequent_names.csv. 50 Most common names of the inhabitants of Barcelona, disaggregated by decade of birth and sex.
life_expectancy.csv. Life expectancy in men and women of the city of Barcelona (2006-2013).
Accidents
accidents_2017.csv. List of accidents handled by the local police in the city of Barcelona. Incorporates the number of injuries by severity, the number of vehicles and the point of impact.Environment
air_quality_Nov2017.csv. Air quality information of the city of Barcelona. Mesure data are showed of O3 (tropospheric Ozone), NO2 (Nitrogen dioxide), PM10 (Suspended particles).
air_stations_Nov2017.csv. Air quality measure stations of the city of Barcelona. Main characteristics of each one are detailed.
Transport
bus_stops.csv. Bus stops, day bus stops, night bus stops, airport bus stops of the city of Barcelona.
transports.csv. Public transports (underground, Renfe, FGC, funicular, cable car, tramcar, etc) of the city of Barcelona.
CREATE TABLE accidents_2017 (
"id" VARCHAR,
"district_name" VARCHAR,
"neighborhood_name" VARCHAR,
"street" VARCHAR,
"weekday" VARCHAR,
"month" VARCHAR,
"day" BIGINT,
"hour" BIGINT,
"part_of_the_day" VARCHAR,
"mild_injuries" BIGINT,
"serious_injuries" BIGINT,
"victims" BIGINT,
"vehicles_involved" BIGINT,
"longitude" DOUBLE,
"latitude" DOUBLE
);CREATE TABLE air_quality_nov2017 (
"station" VARCHAR,
"air_quality" VARCHAR,
"longitude" DOUBLE,
"latitude" DOUBLE,
"o3_hour" VARCHAR,
"o3_quality" VARCHAR,
"o3_value" DOUBLE,
"no2_hour" VARCHAR,
"no2_quality" VARCHAR,
"no2_value" DOUBLE,
"pm10_hour" VARCHAR,
"pm10_quality" VARCHAR,
"pm10_value" DOUBLE,
"generated" VARCHAR,
"date_time" BIGINT
);CREATE TABLE air_stations_nov2017 (
"station" VARCHAR,
"longitude" DOUBLE,
"latitude" DOUBLE,
"ubication" VARCHAR,
"district_name" VARCHAR,
"neighborhood_name" VARCHAR
);CREATE TABLE births (
"year" BIGINT,
"district_code" BIGINT,
"district_name" VARCHAR,
"neighborhood_code" BIGINT,
"neighborhood_name" VARCHAR,
"gender" VARCHAR,
"number" BIGINT
);CREATE TABLE bus_stops (
"code" VARCHAR,
"transport" VARCHAR,
"longitude" DOUBLE,
"latitude" DOUBLE,
"bus_stop" VARCHAR,
"district_name" VARCHAR,
"neighborhood_name" VARCHAR
);CREATE TABLE deaths (
"year" BIGINT,
"district_code" BIGINT,
"district_name" VARCHAR,
"neighborhood_code" BIGINT,
"neighborhood_name" VARCHAR,
"age" VARCHAR,
"number" BIGINT
);CREATE TABLE immigrants_by_nationality (
"year" BIGINT,
"district_code" BIGINT,
"district_name" VARCHAR,
"neighborhood_code" BIGINT,
"neighborhood_name" VARCHAR,
"nationality" VARCHAR,
"number" BIGINT
);CREATE TABLE immigrants_emigrants_by_age (
"year" BIGINT,
"district_code" BIGINT,
"district_name" VARCHAR,
"neighborhood_code" BIGINT,
"neighborhood_name" VARCHAR,
"age" VARCHAR,
"immigrants" BIGINT,
"emigrants" BIGINT
);CREATE TABLE immigrants_emigrants_by_destination (
"from" VARCHAR,
"to" VARCHAR,
"weight" BIGINT
);CREATE TABLE immigrants_emigrants_by_destination2 (
"from" VARCHAR,
"to" VARCHAR,
"weight" BIGINT
);CREATE TABLE immigrants_emigrants_by_sex (
"year" BIGINT,
"district_code" BIGINT,
"district_name" VARCHAR,
"neighborhood_code" BIGINT,
"neighborhood_name" VARCHAR,
"gender" VARCHAR,
"immigrants" BIGINT,
"emigrants" BIGINT
);CREATE TABLE life_expectancy (
"neighborhood" VARCHAR,
"n_2006_2010" DOUBLE -- 2006-2010,
"n_2007_2011" DOUBLE -- 2007-2011,
"n_2008_2012" DOUBLE -- 2008-2012,
"n_2009_2013" DOUBLE -- 2009-2013,
"n_2010_2014" DOUBLE -- 2010-2014,
"gender" VARCHAR
);CREATE TABLE most_frequent_baby_names (
"order" BIGINT,
"name" VARCHAR,
"gender" VARCHAR,
"year" BIGINT,
"frequency" BIGINT
);CREATE TABLE most_frequent_names (
"order" BIGINT,
"name" VARCHAR,
"gender" VARCHAR,
"decade" VARCHAR,
"frequency" BIGINT
);CREATE TABLE population (
"year" BIGINT,
"district_code" BIGINT,
"district_name" VARCHAR,
"neighborhood_code" BIGINT,
"neighborhood_name" VARCHAR,
"gender" VARCHAR,
"age" VARCHAR,
"number" BIGINT
);CREATE TABLE transports (
"code" VARCHAR,
"transport" VARCHAR,
"longitude" DOUBLE,
"latitude" DOUBLE,
"station" VARCHAR,
"district_name" VARCHAR,
"neighborhood_name" VARCHAR
);CREATE TABLE unemployment (
"year" BIGINT,
"month" VARCHAR,
"district_code" BIGINT,
"district_name" VARCHAR,
"neighborhood_code" BIGINT,
"neighborhood_name" VARCHAR,
"gender" VARCHAR,
"demand_occupation" VARCHAR,
"number" BIGINT
);Anyone who has the link will be able to view this.