Jump to content

User talk:Steinsky

Add topic
From Wikidata
Latest comment: 1 year ago by GrandEscogriffe in topic /* Population / Census */ bis

کجای کارم اشتباه بود

[edit]

من کجا و اشتباه کردم میشه لطفاً بگی Sina00wea45 (talk) 16:16, 7 September 2024 (UTC)Reply

Population / Census

[edit]

Many thanks for your hard work on the population of Wales within each community, in the latest census! As we say in Welsh (my mother tongue): Diolch yn fawr!

Secondly, I have a request, but will not be offended if you're too busy: could you add the number of Welsh speakers, the percentage of those who call themselves 'Welsh' or 'Welsh and British' and the number in/out of work? With this info I could create automated tables (from WD) of each community area on the cy-wiki. But, as I say, you have other more pressing stuff, I'm sure! Diolch yn fawr! Llywelyn2000 (talk) 10:32, 27 September 2024 (UTC)Reply

One other request please, regarding your population edits: please change rank to the latest (preferred rank), as this one is the current population census. Many thanks! Llywelyn2000 (talk) 10:47, 27 September 2024 (UTC)Reply

Language: We can only import data that there are Wikidata fields for. See the list of "related properties" for Property:P1082 (population). I imported households and male/female population data, because that's what Wikidata's population property has fields for. If you want additional fields added, you'll need to look into those to see if there's anything suitable already in the structure, or if it needs adding.
Rank: I imported the data with OpenRefine which does not currently have the ability to set the preferred rank (otherwise I would have set it), therefore you will need to set this manually for those places that have multiple population entries (or find another tool that does have the functionality). That said, it should be possible (even in Wikipedia templates) to sort the entries by date as well as preference, to get the most recent entry.
cheers, Steinsky (talk) 12:02, 27 September 2024 (UTC)Reply
Yes, new fields would be necessary, but as they're on the census, it would be hard to refuse.
The new population period is fed into our WD driven Infobox, as you know; we have 950 + communities, so changing them to preferred rank now is out of the question. As they stand, with more than one population, they look bad. It will take hours to change the code so that the infobox only show the most recent entry. There goes my weekend. Perhaps a discussion with interested parties, before uploading would be good in the future. Llywelyn2000 (talk) 17:23, 27 September 2024 (UTC)Reply

/* Population / Census */ bis

[edit]

Hello, when you add the 2021 census data, remember to put the 2021 data in “preferred rank”, otherwise it causes an error in the infoboxes on wikipedia, example on wiki.fr: https://fr.wikipedia.org/wiki/Godmanchester_(United Kingdom) I'm french and my english is basic, sorry. Best regards Remy34 (talk) 17:53, 24 June 2025 (UTC)Reply

Sorry, OpenRefine can not adjust preferred rank. And preferred rank is anyway not a good way of selecting this data if you want the most recent numbers - you should sort by point in time for that. Steinsky (talk) 18:08, 24 June 2025 (UTC)Reply
Hello, I agree with Remy34 on this. At least the existence and massive use of most recent value (Q71533355) in reason for preferred rank (P7452) show that setting the most recent value at preferred rank is a well-established practice. GrandEscogriffe (talk) 16:44, 25 June 2025 (UTC)Reply