Data API - Add a non-changing unique identifier
See original GitHub issueHello - For the Data API, can you add a non-changing ID to each record? Such as the PR# or any other unique id?
I’m writing a script that is analyzing the links, which comes at an expensive cost. I would like the links to only be analyzed once. It would be helpful if each record had some internal ID we could reference when updating or aggregating additional data.
For example:
data: [
{
id: 1, // <-- Add this, keep it consistent across all data api updates ❗
links: [
"https://twitter.com/courtenay_roche/status/1267653137969623040",
"https://twitter.com/yagirlbrookie09/status/1267647898365427714",
"https://www.4029tv.com/article/bentonville-police-deploy-tear-gas-on-protesters/32736629#"
],
state: "Arkansas",
edit_at: "https://github.com/2020PB/police-brutality/blob/master/reports/Arkansas.md",
city: "Bentonville",
name: "Law enforcement gas a crowd chanting “we want peace” right after exiting the building.",
date: "2020-06-01",
date_text: "June 1st"
},
Much appreciated. Thanks for the wonderful contribution.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:15 (1 by maintainers)
Top Results From Across the Web
Project Types and Unique Identifiers - Iterable Support Center
Every Iterable project uses a specific field to uniquely identify each user. This allows an individual record to be referenced without confusion.
Read more >Get unique, static id from a device via web request
I just wanted to know if there is a unique, non-changing identifier for a device that is accessible in the web request that...
Read more >Primary Key choice on table with unique identifier
Further research suggests that using a uniqueidentifier as a clustered index is not always a good choice, because of the way that newid()...
Read more >Create a Contact List with an Unique Identifier Column assigned
Trying to mass create contact lists for a project. One of the columns is to be an Unique Identifier or "custom-id" for added...
Read more >Setting User IDs for Web - Braze
Setting user IDs for web. User IDs should be set for each of your users. These should be unchanging and accessible when a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could the new issue template include a link to https://www.uuidgenerator.net/ and ask the contributor to paste one in?
Using the ID of a PR seems like the easiest option, as its pretty simple for anyone adding a new PR to do. If a UUID is being used, ksuid is pretty cool, as it can be sorted based on time.