Property talk:P774
Documentation
identifier for places in the United States per former Federal Information Processing Standard FIPS 55-3
List of violations of this constraint: Database reports/Constraint violations/P774#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P774#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P774#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P774#Entity types
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
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)
- I added a format pattern that allows for most and updated the description accordingly. -- Docu at 08:01, 13 August 2013 (UTC)
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)
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)
- 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)- They're unique to a state. - Nikki (talk) 11:43, 11 October 2016 (UTC)
- 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)
- I have no opinion about this. Just do what's best. Thierry Caro (talk) 11:47, 11 October 2016 (UTC)
Labels
[edit]@Rariod: зачем уточнение "места в США" (где здесь ударение?)? Разве есть другие FIPS 55-3? Выглядит не по-русски. --Infovarius (talk) 21:24, 23 December 2019 (UTC)
@Infovarius: Честно говоря не уверен, есть ли другие базы данных FIPS 55-3. Не хватает знаний о FIPS, а полные тексты документов не удаётся найти так сразу. Предполагаю, что не спроста в английском написании в скобках добавили уточнение о местах. Я решил привести русское написание к похожему виду. Вероятно, что в FIPS 55-3 есть и другие типы идентификаторов, по аналогии с FIPS 10-4. По поводу того, что звучит немного не по русски - возможно, но более подходящего слова найти не удалось. --Rariod (talk) 00:06, 24 December 2019 (UTC)
- United States of America-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 10000+ items
- Properties with single value constraints
- Properties with unique value constraints
- Properties with format constraints
- Properties with constraints on items using them
- Properties with entity type constraints