melodi
Retrieve Data from the Insee Melodi APIs
INSEE's statistics API gets a French R client that keeps meeting its edge cases
◆Recent moves
- 5mo ago
get_data() handles value columns not named OBS_VALUE_NIVEAU
Another dataset-shape exception: the consumer price index series names its observation value column differently from what get_data() assumed. Small, and the third consecutive release to be one of these.
View source ↗ - 6mo ago
Geography labels added and the lookup loop vectorised
get_range_geo() returns GEO_OBJECT_LABEL alongside the codes and drops its explicit loops for purrr, which is both a completeness fix and a speed one for the label lookups added at 0.3.0.
View source ↗ - 6mo ago
Call parameters move from arguments into options()
The 1.0.0 release is configuration hygiene rather than new capability: technical API parameters that were function arguments or hidden defaults become options() a user sets once. The row ceiling for get_data() also rises to 100,000, a change on the API side.
View source ↗ - 7mo ago
Broken documentation examples and vcr 2 test migration
Housekeeping ahead of 1.0.0 — examples that no longer ran are fixed and the recorded HTTP fixtures are regenerated for vcr 2.
View source ↗ - 8mo ago
Code label lookups for geography and every other dimension
get_range_geo() and get_range() retrieve the labels behind a dataset's codes, which is what makes a Melodi extract readable without a separate reference table. The two releases after this one are both fixes to these same functions.
View source ↗