I am having troubles with the following data:

slavelist = ResourceData["New Orleans Slave Sales 1856-1861"]

I want to select all slaves with:

SellersStateOfOrigin == Alabama,United States

But I don't get what's the format of it. I tried the following :

Select[slavelist, #SellersStateOfOrigin == "Alabama,United States" &] but it won't work...

can someone help?


closed as off-topic by m_goldberg, MarcoB, Henrik Schumacher, Carl Lange, bbgodfrey Mar 12 at 1:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – m_goldberg, MarcoB, Henrik Schumacher, Carl Lange, bbgodfrey
If this question can be reworded to fit the rules in the help center, please edit the question.

Select[slavelist, #SellersStateOfOrigin == 
   Entity["AdministrativeDivision", {"Alabama", "UnitedStates"}] &]

Not the answer you're looking for? Browse other questions tagged or ask your own question.