package fred

  1. Overview
  2. Docs
type seriess = {
  1. realtime_start : string;
  2. realtime_end : string;
  3. filter_variable : string option;
  4. filter_value : string option;
  5. order_by : string option;
  6. sort_order : string option;
  7. count : int option;
  8. offset : int option;
  9. limit : int option;
  10. seriess : series list;
}

Container for series data

and series = {
  1. id : string;
  2. series_realtime_start : string;
  3. series_realtime_end : string;
  4. title : string;
  5. observation_start : string;
  6. observation_end : string;
  7. frequency : string;
  8. frequency_short : string;
  9. units : string;
  10. units_short : string;
  11. seasonal_adjustment : string;
  12. seasonal_adjustment_short : string;
  13. last_updated : string;
  14. popularity : int;
  15. group_popularity : int option;
  16. notes : string;
}
val pp_seriess : Ppx_deriving_runtime.Format.formatter -> seriess -> Ppx_deriving_runtime.unit
val show_seriess : seriess -> Ppx_deriving_runtime.string
val pp_series : Ppx_deriving_runtime.Format.formatter -> series -> Ppx_deriving_runtime.unit
val show_series : series -> Ppx_deriving_runtime.string
type order_by =
  1. | SeriesId
  2. | Title
  3. | Units
  4. | Frequency
  5. | SeasonalAdjustment
  6. | RealtimeStart
  7. | RealtimeEnd
  8. | LastUpdated
  9. | ObservationStart
  10. | ObservationEnd
  11. | Popularity
  12. | GroupPopularity

Series's order by options

type filter_variable =
  1. | Default
  2. | Frequency
  3. | Units
  4. | SeasonalAdjustment

Series's filter variable options

val order_by_to_string : order_by -> string
val filter_variable_to_string : filter_variable -> string
OCaml

Innovation. Community. Security.