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.

9 views

CountryData function

I under that Mathematica are able to extract data from a cloud/ online sources. Pardon the improper use of jargon for programming and IT is not my area of familiarity. Are the data that Mathematica ...
361 views

How to transform and combine multiple Graphics3D into one?

ProteinData["A2M", "MoleculePlot"] gives you a Graphics3D object below. I'd like to display multiple of these proteins in a ...
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: ...
51 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: ...
106 views

Accessing chemical property data for specific conditions?

There is a wealth of data for various chemicals available through Mathematica. For instance: ...
55 views

CountryData vs EntityProperty: why do different data access methods produce different results?

Illustrative example: using CountryData we are told the data is missing, but we can nevertheless access it via an EntityProperty....
457 views

CountryData and the areas of the world

If I add the water area and the land area of the world, I get the same number as if I asked for the total area of the world in the first place: ...
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°, ...
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 ...
87 views

Working with StarData Versus AstronomicalData

Using AstronomicalData I could easily do something like: ...
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 ...
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 ...
63 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 ...
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....
79 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 ...
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 ...
437 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 ...
70 views

How to Replace Plot Slot Numbers With Variable Names

The format of my data looks like: ...
1k views

Is it possible to invoke the OEIS from Mathematica?

I had always wondered if there might be a way to write a function, which I'll call OEISData[], that more or less works as a curated data function for The On-Line ...
318 views

WordData for other languages

Mathematica already includes dictionaries for a lot of languages. What I am looking for is a handy semantic/grammatic database for Hungarian, just like WordData for ...
975 views

List all financial Assets data conditionally

I would like to get all the Financial Data that Mathematica respecting those constraints : The assets for which there are at least 20 years of daily price quotations. Or that have s price for each ...
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 ...
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 ...
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", ...
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. ...
10k views

How do I plot coordinates (latitude and longitude pairs) on a geographic map?

I'm attempting for the first time to create a map within Mathematica. In particular, I would like to take an output of points and plot them according to their lat/long values over a geographic map. I ...
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 ...
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"]
166 views

How to get star coordinates for a given time

Fixed in 10.3.1 In the documentation of StarData, there is an example that shows how to get the altitude of Sirius at a given time (in the horizontal coordinate ...
331 views

Getting FTSE indices in Mathematica

I'm not sure if this is the best StackExchange to post this question, but I figured it had more to do with the specifics of Mathematica than Quantitative Analysis so I've posted it here. Basically, I ...
219 views

How can I get curated data to be expressed consistently in SI units?

AstronomicalData objects are consistently in SI units: ...
51 views

None connected graphs for n=59? [closed]

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

How to program a click panel for chemical elements (like a periodic table)?

The command ColorData["Atoms", "Panel"] indicates RGBColors of atoms by clicking a panel. As I don't want to reinvent the ...
102 views

SpaceFillingMolecularPlot using CAS number of a compound

When I tried to get 3D graphics for molecule CAS52364-73-5 using Mathematica 10 it produced following result ...
575 views

I want to download historical S&P 500 stock prices and combined them into one big file, having only one column of date referencing all stocks. Here is what I have do so far. ...
31 views

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 ...
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 ...
158 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: ...
330 views

Median household income for each county in Maryland

I found that Wolfram|Alpha knows the median household income for every county in the US. I wanted to get a list of all counties in Maryland, and the median income in each county. The only way I could ...
370 views

GeoGraphics: problem with GeoPosition in shifted projections

Bug introduced in 10.0.0 and persisting through 10.4.1 A remark about the answer: My work around is only nice for simple cases with points. More general should include proper polygons splitting on ...
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?
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 ...
164 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: ...
142 views

Inaccurate Heliocentric coordinates of PlanetaryMoonData

I have noticed that the heliocentric coordinates obtained with PlanetaryMoonData are very inaccurate. Fore example, consider the Galilean moons of Jupiter: ...
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"] ...
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 ...
747 views

Building graph based on the cities connection?

I built a Graph based on the permutations of city's connections from : ...
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 ...