[prop]
gives the value of a specified property.
[{propi,…}]
gives the value of a list of properties.
[prop,{qualivali,…}]
gives the value of a specified property modified by qualifier rules quali->vali.
[Dated[prop,date]]
gives the value of a property associated with a particular date specification.
EntityClass["City",{propispeci,…}]
represents a class of entities with values of propi defined by speci.
Sample Entities
- …
Sample Entity Classes
- …
Properties
-
ActiveHomeListingCount active home listings AdministrativeDivision administrative region AggravatedAssault number of aggravated assaults AggravatedAssaultRate rate of aggravated assault AggregateHomeValue aggregate home value AggregateHomeValue15To24 aggregate home value, householder 15 to 24 years AggregateHomeValue25To34 aggregate home value, householder 25 to 34 years AggregateHomeValue35To64 aggregate home value, householder 35 to 64 years AggregateHomeValue65 aggregate home value, householder 65 years and over AggregateHouseholdIncome aggregate household income AirportCodes airport codes AnnualExcessFuelConsumedPerCommuter fuel spent in delays AnnualExcessFuelConsumedTotal total fuel spent in delays AnnualHoursOfDelayPerAutoCommuter average annual delay AnnualHoursOfDelayTotal total annual delay Area area AreaCodes area code ArterialStreetDailyVehicleMiles arterial street traffic ArterialStreetLaneMiles arterial street length AverageHomeListingPrice average home listing price AveragePublicTransitTripLength average public transit trip distance Burglary number of burglaries BurglaryRate rate of burglary CitySalesTaxRate city sales tax Coordinates coordinates Country country County county CountySalesTaxRate county sales tax CrimeRate total rate of crime CrimeTotal total number of crimes DailyDelayMinutes average daily traffic delay Elevation elevation EntityClasses entity classes EntityTypeList entity type list ForcibleRape number of rapes ForcibleRapeRate rate of rape FreewayDailyVehicle-Miles freeway traffic FreewayLaneMiles freeway length GiniIndex Gini index HasPolygon has polygon? HousePriceIndex FHFA home price index HousePriceIndexAnnualAverage FHFA home price index annual average HousingAffordability housing affordability index HousingPriceIncreasedCount home listings with increased price HousingPriceReducedCount home listings with reduced price HousingUnits households LarcenyTheft number of larcenies LarcenyTheftRate rate of larceny Latitude latitude Longitude longitude MagneticFieldStrength total magnetic field strength MedianAge median age MedianDaysOnHousingMarket median home listing time on market MedianHomeListingPrice median home listing price MedianHomeListingPricePerSquareFeet median home listing price per square foot MedianHomeSalePrice median home sale price MedianHomeSizeInSquareFeet median home size MedianHomeValue median home value MedianHouseholdIncome median household income MetropolitanArea metropolitan area MotorVehicleTheft number of motor vehicle thefts MotorVehicleTheftRate rate of motor vehicle thefts MurderNonnegligentManslaughter incidents of murder and nonnegligent manslaughter MurderNonnegligentManslaughterRate rate of murder and nonnegligent manslaughter Name name NewHomeListingCount new home listings NextDSTShift next daylight saving shift Nicknames nicknames NumberOfHomes number of owner‐occupied housing units PeakPeriodTravelers average daily peak period travelers PeakPeriodTravelersPerCapita peak period travelers per capita PeakPeriodVehicles average daily peak period vehicles PendingHomeListCount pending home listings PeopleBornInCity notable people born in city PeopleDiedInCity notable people who died in city PerCapitaIncome per capita income Polygon polygon Population city population PopulationByEducationalAttainment population by educational attainment PopulationByGeographicalMobility population by migration in previous 12 months PopulationByLanguageSpokenAtHome population by language spoken at home PopulationByMaritalStatus population by marital status PopulationByPovertyStatus population by poverty status PopulationBySchoolEnrollment population by school enrollment PopulationDensity population density Position position PreviousDSTShift last daylight saving shift PropertyCrimeRate total rate of property crime PropertyCrimeTotal total number of property crimes PublicTransportationAnnualPassengerMiles total public transit use PublicTransportationAnnualUnlinkedPassengerTrips unlinked public transit trips RentFourBedrooms 4 bedroom apartment fair market rent RentOneBedrooms 1 bedroom apartment fair market rent RentThreeBedrooms 3 bedroom apartment fair market rent RentTwoBedrooms 2 bedroom apartment fair market rent RentZeroBedrooms studio apartment fair market rent Robbery number of robberies RobberyRate rate of robbery RushHours daily rush hour length StateSalesTaxRate state sales tax TimeZone time zone TotalDailyDelay total daily traffic delay TotalSalesTaxRate total sales tax rate TravelTimeIndex average peak travel time UnemploymentRate unemployment rate UnweightedSampleHousingUnits unweighted sample housing units UnweightedSamplePopulation unweighted sample population ViolentCrimeRate total rate of violent crime ViolentCrimeTotal total number of violent crimes ZIPCodes ZIP codes
Details
- "City" entities represent formal, organized population centers, including cities, towns, villages, etc.
- For many properties, data is available only for cities in the United States.
- Some properties are available for the "City" entity type as a whole and can be given using the form EntityValue["City",property]. Such properties include:
-
"Properties" the list of available properties "PropertyCanonicalNames" the standard names of available properties "SampleEntities" a sample list of available entities (typically of length 10) "SampleEntityClasses" a sample list of available entity classes (typically of length 10) "EntityCount" number of entities available "Entities" the list of available entities "EntityCanonicalNames" the standard names of available entities "EntityClasses" the list of available entity classes "EntityClassCanonicalNames" the standard names of available entity classes "PropertyClasses" the list of available property classes "PropertyClassCanonicalNames" the standard names of available property classes "PropertyCount" number of properties available - The following annotations can be used in the third argument of EntityValue["City",property,annotation]:
-
"Source" source information for the property "Date" the date associated with the entity-property value (if any) "EntityAssociation" an association of entities and entity-property values "PropertyAssociation" an association of properties and entity-property values "EntityPropertyAssociation" an association in which the specified entities are keys, and values are a nested association of properties and entity-property values "PropertyEntityAssociation" an association in which the specified properties are keys, and values are a nested association of entities and entity-property values "Dataset" a dataset in which the specified entities are keys, and values are an association of property names and entity-property values - The following annotations can be used in the second argument of EntityValue[property,annotation]:
-
"Qualifiers" the list of possible qualifiers for the property "QualifierValues" the list of possible values that can be given to each qualifier "DefaultQualifierValues" the list of default values for the property's qualifiers "Description" a brief textual description of the property "Definition" a detailed textual definition of the property "PhysicalQuantity" the physical quantity associated with the entity-property value "Unit" the unit associated with the entity-property value - A qualifier value of Automatic indicates that an applicable format of values can be used; e.g. for the "Date" qualifier, this includes a proper date or date span.
Examples
open allclose allBasic Examples (4)
Scope (5)
Applications (8)
Find the three large cities nearest Champaign, Illinois:
Plot the positions of all available cities in Japan:
Find city names that occur in both Germany and Belgium:
Plot the large cities in Australia, with tooltips for their names:
Plot larger cities with larger, translucent disks:
Find a traveling salesman tour of the large cities in Germany:
Make a 3D contour map of Colorado based on the elevations of its cities:
Make a scatter plot of population versus elevation for cities in Colorado: