Closed mtilda closed 3 years ago
Terrible use of arrays instead of objects in this data.
Looks like each element of the "results" array follows this pattern: | Index | Meaning |
---|---|---|
0 | ID (database primary key) | |
1 | Reference Number | |
2 | Title | |
3 | Reference Number (same as above) | |
4 | Category | |
8 | Agency Acronym | |
9 | Image URL | |
11 | Sorting Value* |
Array positions containing only empty strings were omitted
*At first I thought this was the patent number, but it does not seem to correlate to that at all. The only consistent meaning I can see is that it is used to sort the results array in descending order.
Add method to TechTransfer structure to fetch data from NASA's TechTransfer API.
Package and store this data in structure fields.
Example data: https://api.nasa.gov/techtransfer/patent/?engine&api_key=DEMO_KEY