Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping between 'id' and 'series_id' #3

Closed
ndominguez4219 opened this issue Apr 17, 2018 · 1 comment
Closed

Mapping between 'id' and 'series_id' #3

ndominguez4219 opened this issue Apr 17, 2018 · 1 comment

Comments

@ndominguez4219
Copy link

Is there a mapping between 'id' (an integer) and 'series_id' (a string) ? Some functions require one or the other. Thank you.

@avelkoski
Copy link
Owner

Not exactly. FRED offers various identification numbers, and each number has a particular purpose. In some cases, a relationship exists among identification numbers. For instance, series are associated to categories, so the string identification number assigned to a series may be mapped to the integer identification number of its parent category. However, you definitely cannot use the integer identification number for a category in a function that's built to query a series. That's just how the API works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants