I'm new to Tableau and have a spreadsheet of census tracks and geolocation data. I would like to know how to import the data into into Tableau map. The GEOID10 data is paired with custom economic data, all on the same row. Where can I learn more about how to do this? Below is a sample of two rows from the data or you
GEOID10, Total_Employed
06011000500, 2050
you can also see a sample of the data here https://www.dropbox.com/s/bgnxf9my3cmdniu/sample-city.xlsx?dl=0
Thank you!!
Related
I've been working with some crime data from Kaggle. I've been able to produce bar charts and scatter plots grouped by police district. The data has individual records for each incident and the lat/long.
https://www.kaggle.com/datasets/currie32/crimes-in-chicago
I started working with maps and managed to get Tableau to plot every crime location on the base map with filters for year and "primary type". Now I want to create a choropleth by police district. I've tried linking the data source to the shapefile in Data > Edit Blend Relationship then link the district numbers. Not sure of the next steps.
I have been using the shapefile from this site:
https://data.cityofchicago.org/Public-Safety/Boundaries-Police-Districts-current-/fthy-xz3r
I haven't been able to find any tutorials about building a choropleth using a custom spatial file. Any suggestions?
I am using IMPORTXML in Google Sheets to data pictured from https://www.sherdog.com/fighter/Kelvin-Gastelum-74700
The data output is contained in cell A1. What custom function would I need to separate the data into fields and records as it is displayed on the website?!
Kelvin Gastelum Sherdog
I tried using a custom function without success.
Try
=importhtml(url,"table",2)
you have 9 tables, so you can try =importhtml(url,"table",1) to =importhtml(url,"table",9)
I'm trying to import historical data for Closing Prices for various Stock Market indices around the world in Google Sheets. The =GOOGLEFINANCE() function is limited and it seems like you can only import one ticker at a time.
This process is very easy in Python for example, where I can just use the following code, which will give me the historical Closing prices for these various indices since 2000:
indxes = ['^GSPC', '^IXIC', '^DJI', '^OMX', '^GDAXI', '^AXJO', '^FCHI', '^HSI', '^BVSP', '^N225']
indices = web.DataReader(indxes,'yahoo', start = '01-01-2000')['Close']
indices
Does anyone have any idea about how to perform this action in Google Sheets?
player0's answer:
The best you can do in Google Sheets is to put them in array {}
I have a list of hundreds of thousand of addresses with their Latitude/Longitude data.
In a second table, I have the Latitude/Longitude of hundreds of gas stations.
I need to derive a table with the lat/long of the house, the distance to THE CLOSEST gas station, and the name of the gas station.
I'm trying to create a stream for SPSS Modeler (I'm using version 18.2).
In excel was fairly simple (see example below). In sheet one are the houses with lat/long, in sheet two the gas stations data, in sheet three how I did it in excel for a limited number of points, and in sheet four the resulting table. Basically, in excel I took the lat/long of each house and calculated the distance to all the gas stations and kept the smallest one.
I'll appreciate any directions or ideas on how to generate an SPSS Modeler stream to do something similar.
You can download my excel sample here: https://github.com/schapsis/calculating-distance-question
Please see the solution posted at https://developer.ibm.com/answers/questions/512605/how-to-calculate-distance-between-many-geographic/
hope someone can help me with this...
I've imported a range from spreadsheet A to spreadsheet B. When I change data on A, it quickly updates on B- all's good there. I embedded both spreadsheets A and B on a Google sites page, and embedded spreadsheet A updates fine, but spreadsheet B doesn't show the new data in Google sites, even though the actual sheet does change.
I notice that if I create a graph or some such change inside of spreadsheet B, the embed on the Google site then updates completely.
Any ideas how to make this happen automatically?
Bill
It's better to use Data Range to update value on the Column on the spreadsheet.
https://developers.google.com/apps-script/reference/spreadsheet/range?hl=FR#setValue(Object)
you import data with Import range , and you take all data with the Class Range and you put data on others columns.