AdministrativeDivisionData

For general access to the Wolfram Knowledgebase, use entities of type AdministrativeDivision instead of AdministrativeDivisionData.

AdministrativeDivisionData[entity,property]

gives the value of the specified property for the administrative division entity.

AdministrativeDivisionData[{entity1,entity2,},property]

gives a list of property values for the specified administrative division names.

AdministrativeDivisionData[entity,property,annotation]

gives the specified annotation associated with the given property.

Details

  • The specified entity in AdministrativeDivisionData can be an Entity, EntityClass, entity canonical name, or list thereof.
  • The specified property can be an EntityProperty, EntityPropertyClass, property canonical name, or list of properties.
  • AdministrativeDivisionData[] gives a list of all administrative division entities.
  • AdministrativeDivisionData["Properties"] gives a list of available properties.
  • Properties that do not apply or are not known in a particular case are indicated by Missing[].
  • Properties include:
  • "Area"area
    "CapitalCity"capital city
    "Position"coordinates
    "Polygon"polygon
    "Population"population
    "PopulationDensity"population density
    "Subdivisions"subdivisions
  • Detailed historical socioeconomic and other data is available for US states and counties:
  • "AggregateHouseholdIncome"aggregate household income
    "AnnualBirths"annual births
    "AnnualDeaths"annual deaths
    "Area"area
    "AverageCommute"average commute time
    "BorderingCounties"bordering counties
    "BorderingStates"bordering states
    "CountySalesTaxRate"county sales tax rate
    "DisabledPersons"disabled people
    "DistrictCourt"district court
    "FarmLandArea"farmland area
    "FederalGovernmentExpenditure"federal government expenditure
    "FederalGovernmentExpenditurePerCapita"federal government expenditure per capita
    "FIPSCode"FIPS code
    "ForeignBornFraction"fraction foreign born
    "HealthInsuranceCoverageRate"insured population fraction
    "HealthInsurancePeopleCovered"people with health insurance
    "HealthInsurancePeopleNotCovered"people without health insurance
    "HealthInsuranceUncoveredRate"uninsured population fraction
    "HighestElevation"highest elevation
    "LandArea"land area
    "HighestPoint"highest point
    "InfantDeaths"infant deaths
    "LowestElevation"lowest elevation
    "LowestPoint"lowest point
    "MeanElevation"mean elevation
    "MedianAge"median age
    "MedianHouseholdIncome"median household income
    "MedianSalePrice"median home sale price
    "MotorVehicleTheft"number of motor vehicle thefts
    "MotorVehicleTheftRate"rate of motor vehicle thefts
    "Mottoes"state mottoes
    "Name"name
    "Nicknames"state nicknames
    "PersonsPerHousehold"people per household
    "Polygon"polygon
    "Population"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"coordinates
    "Slogans"state slogan
    "Song"state song
    "StateAbbreviation"abbreviation
    "Subdivisions"subdivisions
    "TimeZones"time zones
    "TotalVoterRegistrationRate"total voter registration rate
    "TotalVotingRate"total voting rate
    "TreeAndSpeciesName"state tree
    "ZIPCodes"ZIP codes
  • Housing properties include:
  • "AnnualHousingUnitsChangeFraction"housing units change rate
    "AverageSalePrice"average home sale price
    "HomeOwnershipRate"home ownership rate
    "HomeVacancyRate"home vacancy rate
    "HousePriceIndex"house price index
    "HousingPermit"housing permits
    "HousingStarts"housing starts
    "HousingUnits"households
    "HousingUnitsChange"housing units change
    "HousingUnitsInMultipleUnitStructuresFraction"housing in multiple unit structures
    "NewPrivateHousingUnits"new housing units
    "NewPrivateHousingUnitsValue"new housing units value
    "OwnerOccupiedHousingMedianValue"median owner-occupied home value
    "OwnerOccupiedHousingUnitsFraction"owner-occupied housing
    "RentalVacancyRate"residential rental vacancy rate
    "RentFourBedrooms"four-bedroom apartment fair market rent
    "RentOneBedrooms"one-bedroom apartment fair market rent
    "RentThreeBedrooms"three-bedroom apartment fair market rent
    "RentTwoBedrooms"two-bedroom apartment fair market rent
    "RentZeroBedrooms"studio apartment fair market rent
  • Business- and employment-related properties include:
  • "AccommodationAndFoodServicesSales"accommodation and food services sales
    "Businesses"number of businesses
    "CivilianLaborForce"civilian labor force
    "CivilianUnemploymentRate"civilian unemployment rate
    "CoincidentEconomicActivityIndex"coincident economic activity index
    "Earnings"earnings
    "EarningsAverage"average earnings per job
    "Employment"employment
    "EmploymentNetChange"employment change
    "GiniIndex"Gini index
    "GovernmentEmployment"government employment
    "GrossDomesticProduct"GDP
    "GrossStateProduct"GSP
    "HighSalesTaxRate"highest sales tax rate
    "LowSalesTaxRate"lowest sales tax rate
    "ManufacturingValueOfShipments"manufacturing value of shipments
    "MedianSalesTaxRate"median total sales tax rate
    "MinimumWage"minimum wage
    "NonemployerEstablishments"nonemployer businesses
    "PerCapitaIncome"per capita income
    "PerCapitaPersonalIncome"per capita personal income
    "PrivateNonfarmEmployment"private nonfarm employment
    "PrivateNonfarmEmploymentPercentChange"private nonfarm employment change
    "PrivateNonfarmEstablishments"private nonfarm businesses
    "RetailSales"retail sales
    "RetailSalesPerCapita"retail sales per capita
    "StateGovernmentTaxCollections"state government tax collections
    "StateSalesTaxRate"state sales tax rate
    "WholesaleSales"wholesale sales
    "Workforce"employment
  • Crime properties include:
  • "AggravatedAssault"number of aggravated assaults
    "AggravatedAssaultRate"rate of aggravated assault
    "Burglary"number of burglaries
    "BurglaryRate"rate of burglary
    "CrimeRate"total rate of crime
    "CrimeTotal"total number of crimes
    "ForcibleRape"number of rapes
    "ForcibleRapeRate"rate of rape
    "LarcenyTheft"number of larcenies
    "LarcenyTheftRate"rate of larceny
    "MurderNonnegligentManslaughter"incidents of murder and non-negligent manslaughter
    "MurderNonnegligentManslaughterRate"rate of murder and non-negligent manslaughter
    "PropertyCrimeRate"total rate of property crime
    "PropertyCrimeTotal"total number of property crimes
    "Robbery"number of robberies
    "RobberyRate"rate of robbery
    "ViolentCrimeRate"total rate of violent crime
    "ViolentCrimeTotal"total number of violent crimes
  • Some properties are available for AdministrativeDivisionData as a whole and can be given using the form AdministrativeDivisionData[property]. Such properties include:
  • "Entities"all available entities
    "EntityCount"total number of available entities
    "Classes"all available entity classes
    "EntityClassCount"total number of available entity classes
    "SampleEntities"list of sample entities
    "SampleEntityClasses"list of sample entity classes
    "EntityCanonicalNames"list of all entity canonical names
    "PropertyCanonicalNames"list of all property canonical names
    "EntityClassCanonicalNames"list of all entity class canonical names
    "RandomEntities"pseudorandom sample entities
    {"RandomEntities",n}n pseudorandom entities
    "RandomEntityClasses"pseudorandom sample entity classes
    {"RandomEntityClasses",n}n pseudorandom entity classes
  • The following annotations can be used in the third argument of AdministrativeDivisionData[entity,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
    "Source"source information for the property
    "Date"the date associated with the entity-property value (if any)
    "PhysicalQuantity"the physical quantity associated with the entity-property value
    "Unit"the unit associated with the entity-property value
    "EntityAssociation"an association of entities and entity-property values
    "PropertyAssociation"an association of properties and entity-property values
  • If a function is provided as an annotation, it will be used to aggregate the result data. Typical aggregation functions include:
  • Minthe minimum value
    Maxthe maximum value
    Meanthe mean value
    Commonestthe most frequently occurring value
    Medianthe median value
    Totalreturns the total
    Lengththe number of elements

Examples

open allclose all

Basic Examples  (1)

Use for entity discovery:

Find the capital city of an administrative division:

Find the population density of an administrative division:

Find the subdivisions within an administrative division:

Get a list of sample entities for administrative divisions:

Obtain a sample list of classes of administrative divisions:

Find administrative divisions in a given class:

Neat Examples  (1)

Find top-level divisions of Belgium:

Display the divisions on a map:

Color the divisions by population:

Wolfram Research (2014), AdministrativeDivisionData, Wolfram Language function, https://reference.wolfram.com/language/ref/AdministrativeDivisionData.html.

Text

Wolfram Research (2014), AdministrativeDivisionData, Wolfram Language function, https://reference.wolfram.com/language/ref/AdministrativeDivisionData.html.

CMS

Wolfram Language. 2014. "AdministrativeDivisionData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AdministrativeDivisionData.html.

APA

Wolfram Language. (2014). AdministrativeDivisionData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AdministrativeDivisionData.html

BibTeX

@misc{reference.wolfram_2024_administrativedivisiondata, author="Wolfram Research", title="{AdministrativeDivisionData}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/AdministrativeDivisionData.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_administrativedivisiondata, organization={Wolfram Research}, title={AdministrativeDivisionData}, year={2014}, url={https://reference.wolfram.com/language/ref/AdministrativeDivisionData.html}, note=[Accessed: 22-November-2024 ]}