# Tagged Questions

Since version 7, Mathematica includes gigabytes of curated data relevant to many different fields, including physics, chemistry, graph theory, finance, geography and many more.

1answer
48 views

### How to set proper time zone for weather data

I am running a query to pull historical temperature readings from Los Angeles using the following query: ...
2answers
40 views

### In which direction does WindDirection 0° point?

I was playing around with WeatherData. In this moment: WeatherData["Milan", "WindDirection"] (*0°*) which is nice, but 0°, ...
1answer
42 views

### How do I extract religion fractions data from CountryData?

In this code: data = CountryData["UnitedStates", "ReligionsFractions"] I need to extract all of the names of the various religions as a variable and the fraction ...
0answers
27 views

### Error Processing CityData

I try get the populations of all cities by this common used line pop0 = Map[{#, CityData[#, "Population"]} &, CityData[All]]; But it gives me this error ...
1answer
64 views

### How To Improve Mathematica StarData Performance When Compared To AstronomicalData

My tests of using AstronomicalData versus StarData show that StarData requests are 15 times ...
1answer
62 views

### How To Replace xAxis and yAxis Number Values With An Associated Name

This application works great. The thing is, the associations: {{xAxis, 6}, {4, 5, 6, 7, 8}}, {{yAxis, 7}, {5, 6, 7, 8}}, while functional, are not very intuitive. How can I replace xAxis and yAxis ...
0answers
52 views

### Extracting, Formatting, and Exporting Mathematica AstronomicalData - Is There an Easier Way?

If any of you have tried to use Mathematica AstronomicalData and its newest replacements like StarData, you may already be familiar with the large data issues, and the almost impossible download times....
1answer
74 views

### Obtaining Historical Financial Data

I'm trying to get the historical P/E ratio for a number of securities. WolframAlpha makes this seem easy: However, when I try to obtain a subset (or even just a single value) of this information in ...
2answers
182 views

### How to turn a colour entity into a colour directive?

I am not experienced with Wolfram Knowledgebase queries and working with entities. What is the "correct" way to convert a colour entity into a colour directive? Example: ...
0answers
63 views

### CVaR Portfolio Optimization

I am looking for help on CVaR Portfolio Optimization based on the article . I have to solve the following problem: CVaR cannot be negative by design. Therefore, (a)+ is defined as max(a, 0). Withe ...
2answers
436 views

### How can I use Mathematica to sort the US Congressional Districts by Perimeter÷Area

The United States is divided into 435 congressional districts. Some of their shapes can be really strange due to gerrymandering. I think that I can find very gerrymandered congressional districts if ...
2answers
70 views

### How to Replace Plot Slot Numbers With Variable Names

The format of my data looks like: ...
0answers
37 views

### Is there a Wikidata - based Entity system yet?

Wikidata.org seems to have a similar goal as the new Entity/EntityProperty Wolfram-knowledge base system. The differences are that Wikidata is open, promising faster expansion and fixing, but of ...
1answer
41 views

### converting a named graph into a graph object

I am seeking the edge lists of the complements of named graphs on n vertices. At first sight I would use ...
2answers
79 views

### How can I find the Quandl codes for metals?

Probably not the right site to ask this, but how can I find out the Quandl codes for different commodities? For example, gold against USD? Tried "CURRFX/XAUUSD", ...
3answers
182 views

### Why is my ListPlot rounding up fractions?

I'm trying to create a ListPlot that compares a country's poverty fraction with its cellular phone fraction. I'm using this to create the table. ...
1answer
87 views

### Working with StarData Versus AstronomicalData

Using AstronomicalData I could easily do something like: ...
0answers
30 views

### Filtering word data nouns by subfield?

I am making string combinations using WordData and would like to filter all nouns that come from a specific professional specialization. For example, the nouns in ...
1answer
46 views

### Scale size PolyhedronData

How can I plot a truncated cube with size (sqrt(2)-1)? The code I am using is simply PolyhedronData["TruncatedCube"]
0answers
31 views

### ChemicalData, only index downloaded

I do not have access to internet on my PC , so as in Wolfram's KB, I preloaded ChemicalData from an online PC, and then transferred it to my PC. The problem is only the index got downloaded, so how ...
1answer
304 views

### GeoGraphics - mapping the Moon

The link here shows a nice way to depict the map of the Moon in Mathematica. But is there a way, to center the Mollweide projection onto the far side of the Moon?
2answers
73 views

### ChemicalData[] error: “L-Cysteine” is not a known entity, class,

If I execute: ChemicalData["L-Cysteine", "MolarMass"] I get the following error: ChemicalData::notent: "L-Cysteine" is not a known entity, class, or tag for ...
2answers
157 views

### How to refer to amino acids by their single-letter abbreviations in ChemicalData[]?

ChemicalData["AminoAcids"] returns the 20 amino acids. There are some properties available, like the molar mass: ...
1answer
163 views

### Why does WordList[“KnownWords”] include so many non-words?

I was going through the Wolfram Language book in Mathematica and in one chapter had the following exercise to pick out palindromes: ...
1answer
74 views

### List of all dog breeds

How to make a list of all dog breeds with pictures and names like this I tried: EntityValue[ Take[EntityList[EntityClass["DogBreed", All]], 3], "Image"] ...
1answer
69 views

### ElementData possible oxidation states

Is there any way to find out the possible oxidation states for a given element? Something like this: ElementData[1, "OxidationStates"] -> {-1, 1} Here is a ...
2answers
818 views

### All the food WolframAlpha knows about

I want to plot some nutritional values and do some computation with it. Is there an analogue of CountryData[] to get a list of all the foods for which WA has ...
1answer
51 views

### None connected graphs for n=59? [closed]

For some reason GraphData["Connected", 59] gives no graphs, is this a bug?
1answer
329 views

### How to plot GDPs in this way?

Actually the current answer is very wonderfull.The bouns just for someone can complete this question. I found this interesting plot of how the relationship between the GDPs of different countries has ...
1answer
92 views

### How to get the actual Wolfram Language code to draw polyhedra in PolyhedronData?

PolyhedronData[] gives a nice collection of polyhedra. And calling PolyhedronData["DodecahedronIcosahedronCompound", "Image"] ...
0answers
68 views

### Difficulties using AdministrativeDivisionData and Entities: Who cures the curator?

Part 1: Difficulties using Entities Happily realizing that there is a lot of curated data "under the hood" in Mathematica I wanted to access population data for some Administrative Divisions in ...
1answer
96 views

### getting stock price from financial data

I would like to print only the stock price from below input , i have been trying since a couple of hours with no luck..this is what I did ...
0answers
23 views

### Mapping Functions to Associations [duplicate]

If I have the association matrix listed bellow and I want to apply: ...
0answers
105 views

### How to insert a formula to FormulaData?

Unit Checking Demo In order to throw a unit error,we run the code ...
0answers
136 views

### 3D orbits of moons around their respective planets

I have seen a lot of solar system models (both animated and not), but I am trying to replicate the same thing with moons. Either just one planet and its lunar system or the our whole solar system with ...
1answer
48 views

### How to correctly use FormulaData

I am exploring some of the functions involving units and formulas, and wondered how to input quantities if the variable has a subscript. This works ...
0answers
91 views

### Mathematica and Wolfram Alpha - Long data series [duplicate]

Let's say I want a long series of data with the Mexican peso / US dollar exchange rate. The old code I used back in the day was FinancialData["USD/MXN", All] ...
0answers
88 views

### Increasing resolution in AnatomicalData

In version 10.3 one can get an image of an anatomical structure, such as a brain, using this code: AnatomyData[Entity["AnatomicalStructure", "Brain"], "Image"] ...
1answer
74 views

### Convert star name into entity value

I have a list of star names: stan = Select[#, Last[#] < Quantity[153.5, "LightYears"] &] &@ StarData[StarData[], {"Name", "DistanceFromEarth"}] ...
1answer
150 views

### W|A or Mathematica for CountryData?

Sometimes W|A gives you something ... WolframAlpha["electricity production of the United States in 2007", "Result"] ... not available in the WDF ...
0answers
56 views

### How to display EntityProperty objects with their CanonicalName?

Is there a way to display EntityProperty objects with their CanonicalName instead of the text they are currently displayed with. ...
0answers
42 views

### How to find euro zone equivalent of treasury data in U.S. using FinancialData?

For example I use FinancialData["^TYX", "Price", {{2004}, {2014}, "Week"}]; to get data for U.S. treasury data, can I do the same for eurozone yield curve? I know I ...
3answers
136 views

### How to find the standard names of chemicals in ChemicalData?

When I try to get info on acetic acid with the ChemicalData function there are only "aceticAcid\$l^{1}oxidanylEster" and ...
2answers
173 views

### Initializing FinancialData indices … never finishes

Bug introduced in 10.3.0 and fixed in 10.3.1 Retrieving data using FinancialData became more unreliable in the last couple of months, but simply retrying was ...
1answer
140 views

### Why some GeoProjections show just half of Chukotka region (Russian map)

I've moved to V.10.4 and proceed with Russian map (the aim is to geoplot regional distributions of some values). Notice most eastern Russian region - Chukotka. Chukotka, unlike other entities, ...
1answer
67 views

### Where is ExampleData stored on my system

When I enter: Import["ExampleData/numberdata.csv"] Where does Mathematica go on my system to find the file numberdata.csv? Or, what Mathematica command will ...
0answers
37 views

### ExampleData texts [closed]

Im interested, what books, text are included the ExampleData, like Alice in Wonderland, The Raven... Is there any site, I can check all the text in mathematica? I tried for example Poe: The Black Cat, ...
1answer
160 views

### Render Graphics3D of anatomical data in color

I am trying to render a bone structure in color in Mathematica 10.3, but none of the obvious methods seem to work: ...
2answers
569 views

### Remove country flags that match a certain image pattern

I wanted to create the flag you create when you average over all the flags of the world, for this little post: medium ...
3answers
113 views

### Is it possible to get CityData for different years?

Is it possible to get CityData for different years? Or get a year of origin of data in CityData?