ropensci / nomisr

Access UK official statistics from the Nomis database through R.
https://docs.ropensci.org/nomisr
Other
44 stars 12 forks source link

Rounded values when pulling through NM_31_1 #30

Open Lydiaargh opened 2 years ago

Lydiaargh commented 2 years ago

Hi, I'm pulling through some mid-year population estimates using this:

mid_year_pop_estimates_raw <- nomis_get_data("NM_31_1", geography = "TYPE431", date = 2017)

The values in the OBS_VALUE column are rounded to the nearest 00 (rounded) when compared to the raw data downloaded via nomis. I've only had this issue with NM_31_1 so far, and it appears to be the case for others years I've pulled through (2018 and 2019)

Many thanks, Lydia

evanodell commented 2 years ago

The API itself appears to round these result values. I will check to see if it rounds the results in other formats.