Comments (4)
You are correct: these are the column names I receive from the CBS.
The human readable names of the columns are in meta$DataProperties
the recode argument currently recodes category codes into category names. It is on my TODO list that recode also returns "human readable" column names. Note however that these label can be looooonggg.
from cbsodatar.
Hello Edwin, thanks for your updates on this point. I like the use_column_title
argument. Dropping the numbers after the underscore may be a solution as well. I haven't found a situation with duplicate column names when dropping the numbers. I'm not sure what happens when there are duplicate column names.
A few weeks ago, I made a CBS open data client for Python inspired on this project. Linking back to your R version. https://github.com/J535D165/cbsodata
from cbsodatar.
Hi Jonathan,
Thanks for your suggestions! Regarding dropping the numbers: most of the times this is not a problem, however:
- the column name should also be findable in the metadata section (Dataproperties to be exact), so that introduces an inconstency
- there are (or were) Open Data tables which repeated identical columns. This was mainly done for presentation purposes. These columns tend to have identical keys except for the number...
I noticed (by accident) your python implementation. I was looking at "rijksdriehoek" of Jan van der Laan (who is a close colleague), and noticed your python implementation and there upon your python implementation of cbsodata :-) . I will add a link to README to reference your python version.
Best regards,
Edwin
from cbsodatar.
Clear answer. I'm a bit afraid that the numbers will change over the time (different column order?). But it's good to leave it to the end user. And the use_column_title
is enough for most users.
In my opinion, the issue can be closed.
from cbsodatar.
Related Issues (20)
- More informative error message when request too long
- problems loading 70747ned HOT 19
- cbs_get_toc for a particular city HOT 3
- error bij `cbs_add_columns()` HOT 3
- please document output values HOT 3
- cbs_get_meta() gives error: fixed but not yet on CRAN HOT 2
- filter data with geq, neq and not in HOT 3
- week periods are not converted with `cbs_add_date_column` HOT 4
- cbsodataR in Remoteacces environment HOT 7
- setwd() in package limits cronjobs HOT 4
- `cbs_get_data` with `base_url="http://dataderden.cbs.nl` fails HOT 2
- Solution for no connection with Windows 7/8 and IE11
- cbs_get_data() no response error
- Filter not working in cbs_get_data, on column SoortRegio_2 HOT 4
- error cbs_download_data HOT 1
- HTTP versus HTTPS
- method to keep track of table updates? HOT 1
- `cbs_download_data`: catalog error
- `cbs_get_data` argument `typed=FALSE` not working correctly
- `cbs_get_meta`: default selection which includes a substring of is not parsed correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbsodatar.