Wikidata:Property proposal/USGS earthquake id
USGS earthquake ID edit
Originally proposed at Wikidata:Property proposal/Event
Description | identifier for an earthquake or other seismic event, in the United States Geological Survey database |
---|---|
Data type | External identifier |
Domain | earthquakes |
Example | 2014 South Napa earthquake (Q17602018) → nc72282711 |
Source | http://earthquake.usgs.gov/earthquakes |
Planned use | cross-reference items on earthquakes with their official USGS entry |
Formatter URL | http://earthquake.usgs.gov/earthquakes/eventpage/$1 |
- Motivation
Cross-referencing items on earthquakes with their official USGS entry will allow bots to retrieve and verify additional technical data (such as modified Mercalli intensity scale (P2784), see property proposal discussion) from a canonical source. The identifier consists of a 2-letter prefix that identifies the catalog followed by an alphanumeric sequence identifying the event. For example: pr16237000 refers to the entry 16237000 from the Puerto Rico Seismic Network catalog (pr) --DarTar (talk) 04:22, 24 August 2016 (UTC).
A web service (FDSN-WS) maintained by USGS can be used to look up properties of any event by passing the identifier.
- Discussion
- Support. I've changed the datatype to external ID. The regex is slightly more complicated than described above though, e.g. us10006fik and us10006g7d are other recent quakes. Thryduulf (talk) 10:40, 24 August 2016 (UTC)
- @Thryduulf: updated the format description, thank you.--DarTar (talk)
- @Thryduulf: I just got a response from USGS's official Twitter handle about the format: [1] [2] [3] – The preceding unsigned comment was added by DarTar (talk • contribs).
- So is it definitely 2 alphabetic characters followed by exactly 8 alphanumeric characters (i.e. [a-z]{2}[a-z0-9]{8})? Thryduulf (talk) 21:40, 24 August 2016 (UTC)
- I asked for a confirmation but haven't got any reply yet [4] --DarTar (talk) 03:21, 26 August 2016 (UTC)
- So is it definitely 2 alphabetic characters followed by exactly 8 alphanumeric characters (i.e. [a-z]{2}[a-z0-9]{8})? Thryduulf (talk) 21:40, 24 August 2016 (UTC)
- @Thryduulf: I just got a response from USGS's official Twitter handle about the format: [1] [2] [3] – The preceding unsigned comment was added by DarTar (talk • contribs).
- @Thryduulf: updated the format description, thank you.--DarTar (talk)
- Support. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:39, 24 August 2016 (UTC)
- Support --Andrawaag (talk) 13:56, 24 August 2016 (UTC)
- Support. If that regex does not cover edge cases, we will see that in the constraint violation report and can adapt it accordingly. --Daniel Mietchen (talk) 03:25, 27 August 2016 (UTC)
- @Daniel Mietchen: good point.--DarTar (talk) 16:28, 28 August 2016 (UTC)