Property talk:P774

From Wikidata
Jump to navigation Jump to search

Documentation

FIPS 55-3 (locations in the US)
identifier for places in the United States per former Federal Information Processing Standard FIPS 55-3
Descriptionformer standard identifier for places in the United States per FIPS 55-3, see: Federal Information Processing Standard (Q917824).
Data typeExternal identifier
Template parameter|blank_info= in en:template:geobox/type/settlement
Domainplaces: location in the United States (note: this should be moved to the property statements)
Allowed values\d{2}-?\d{5}
ExampleWarren (Q2384658) → 50-76525
New York City (Q60) → 3651000
Sourcehttps://www.census.gov/geo/maps-data/data/gazetteer.html
https://www2.census.gov/geo/docs/maps-data/data/gazetteer/2020_Gazetteer/2020_Gaz_place_national.zip
Robot and gadget jobsDeltaBot does the following jobs:
Tracking: usageCategory:Pages using Wikidata property P774 (Q23909145)
Related to country United States of America (Q30) (See 762 others)
See alsoFIPS 10-4 (countries and regions) (P901), FIPS 6-4 (P882), FIPS 5-2 alpha code (US states) (P5086), FIPS 5-2 numeric code (US states) (P5087)
Lists
  • Items with the most statements of this property
  • Count of items by number of statements (chart)
  • Count of items by number of sitelinks (chart)
  • Items with the most identifier properties
  • Items with no other external identifier
  • Items with no other statements
  • Most recently created items
  • Items with novalue claims
  • Items with unknown value claims
  • Usage history (total)
  • Chart by item creation date
  • Database reports/Constraint violations/P774
  • Map
  • Random list
  • Proposal discussionProposal discussion
    Current uses
    Total52,842
    Main statement52,78799.9% of uses
    Qualifier3<0.1% of uses
    Reference52<0.1% of uses
    Search for values
    [create Create a translatable help page (preferably in English) for this property to be included here]
    Single value: this property generally contains a single value. (Help)
    Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Murillo (Q973477)
    List of violations of this constraint: Database reports/Constraint violations/P774#Single value, SPARQL
    Distinct values: this property likely contains a value that is different from all other items. (Help)
    Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
    List of violations of this constraint: Database reports/Constraint violations/P774#Unique value, SPARQL (every item), SPARQL (by value)
    Format “\d\d-?\d{5}: value must be formatted using this pattern (PCRE syntax). (Help)
    Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
    List of violations of this constraint: Database reports/Constraint violations/P774#Format, SPARQL
    Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
    Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
    List of violations of this constraint: Database reports/Constraint violations/P774#Entity types

    Which ones to include[edit]

    Which codes should this include? FIPS 55-3? See w:Federal_Information_Processing_Standards#Withdrawal_of_geographic_codes

    Maybe just FIPS 10-4 for country codes or region codes and FIPS 5-2 for state codes? --  Docu  at 20:49, 7 August 2013 (UTC) [reply]

    I added a format pattern that allows for most and updated the description accordingly. --  Docu  at 08:01, 13 August 2013 (UTC)[reply]
    I listed three properties at Wikidata:Property_proposal/Place. This would limit the use of this property to FIPS 55-3, --  Docu  at 08:29, 13 August 2013 (UTC) resolved. --  Docu  at 18:31, 12 September 2013 (UTC)[reply]

    Format[edit]

    The format we currently say to use here is the state code, a dash and then the place code but most of the current values don't have the dash. The format we say to use for FIPS 6-4 (P882) is the state code then the county code without any dash.

    I tried to find out what a FIPS 55-3 code actually is, but all I can find are 2-digit state codes, 3-digit county codes [1] and 5-digit place codes:

    • The original files [2] consist of fixed width fields with no separators. [3] and [4] say the first two characters are the state code, the next five are the place code and the two characters after that are the state abbreviation.
    • The census data [5] has a "GEOID" column which consists of the state code and either place code or county code concatenated together with no dash.
    • [6] has mappings for county and place codes, the state, county and place codes are separate fields.

    I can't find anything using dashes - is that just a Wikipedia invention? If we want unique codes (rather than storing state, county and place codes separately), I think we should use the same format as an external source (e.g. without a dash, like the census data "GEOID" field). Either way, I think we should be consistent and not have one property using dashes and another not.

    If there's no objections, I'll remove the dash from the format.

    - Nikki (talk) 08:22, 16 April 2016 (UTC)[reply]

    It seems to come from w:Template:FIPS. Are the codes unique for the US or for a state? In the first case we could remove them and attempt to build the URL differently.
    --- Jura 10:31, 16 April 2016 (UTC)[reply]
    They're unique to a state. - Nikki (talk) 11:43, 11 October 2016 (UTC)[reply]
    Unfortunately I forgot about this and since then a large number have been imported from Wikipedia with dashes. I don't want to go ahead and change thousands of them unless other people agree with changing it, so I've just made the dash optional in the format for now.
    Some more examples of the state and place codes being used without dashes are in the URLs of http://censtats.census.gov/data/AR/1600548560.pdf and http://factfinder.census.gov/bkmk/table/1.0/en/DEC/10_DP/DPDP1/1600000US0548560
    @Thierry Caro, Pasleim: You two seem to have imported a lot of the IDs, what do you think?
    - Nikki (talk) 11:43, 11 October 2016 (UTC)[reply]
    I have no opinion about this. Just do what's best. Thierry Caro (talk) 11:47, 11 October 2016 (UTC)[reply]

    Labels[edit]

    @Rariod: зачем уточнение "места в США" (где здесь ударение?)? Разве есть другие FIPS 55-3? Выглядит не по-русски. --Infovarius (talk) 21:24, 23 December 2019 (UTC)[reply]

    @Infovarius: Честно говоря не уверен, есть ли другие базы данных FIPS 55-3. Не хватает знаний о FIPS, а полные тексты документов не удаётся найти так сразу. Предполагаю, что не спроста в английском написании в скобках добавили уточнение о местах. Я решил привести русское написание к похожему виду. Вероятно, что в FIPS 55-3 есть и другие типы идентификаторов, по аналогии с FIPS 10-4. По поводу того, что звучит немного не по русски - возможно, но более подходящего слова найти не удалось. --Rariod (talk) 00:06, 24 December 2019 (UTC)[reply]