# NOT RUN {
fredr_request(
endpoint = "series/observations",
series_id = "GNPCA",
observation_start = "1990-01-01",
observation_end = "2000-01-01"
)
# Compare with to_frame = TRUE
resp <- fredr_request(
endpoint = "series/observations",
series_id = "GNPCA",
observation_start = "1990-01-01",
observation_end = "2000-01-01",
to_frame = FALSE
)
# }
Run the code above in your browser using DataLab