Indian Census Data With Geospatial Indexing
Calculating population weighted mean of geospatial data of each Indian state
@kaggle.sirpunch_indian_census_data_with_geospatial_indexing
Calculating population weighted mean of geospatial data of each Indian state
@kaggle.sirpunch_indian_census_data_with_geospatial_indexing
Dataset Description:
Example Analysis:
The complete code for calculating the centroids and web scraping for the data is shared on GitHub.
The purpose of this project was to map population density center for each state.
You can also read about the complete project here: https://medium.com/@sumit.arora/plotting-weighted-mean-population-centroids-on-a-country-map-22da408c1397
Output Screenshots:
Indian districts mapped as polygons
Mapping centroids for each district
Mean centers of population by state, 2001 vs. 2011
National center of population
CREATE TABLE district_wise_centroids (
"state" VARCHAR,
"district" VARCHAR,
"latitude" DOUBLE,
"longitude" DOUBLE
);
CREATE TABLE district_wise_population_and_centroids (
"state" VARCHAR,
"district" VARCHAR,
"latitude" DOUBLE,
"longitude" DOUBLE,
"population_in_2001" BIGINT,
"population_in_2011" BIGINT
);
CREATE TABLE district_wise_population_for_year_2001_and_2011 (
"state" VARCHAR,
"district" VARCHAR,
"population_in_2001" BIGINT,
"population_in_2011" BIGINT
);
CREATE TABLE state_wise_centroids_2001 (
"state" VARCHAR,
"longitude" DOUBLE,
"latitude" DOUBLE
);
CREATE TABLE state_wise_centroids_2011 (
"state" VARCHAR,
"longitude" DOUBLE,
"latitude" DOUBLE
);
Anyone who has the link will be able to view this.