Description Usage Arguments Value Examples
View source: R/hdng_get_data.R
This function is used to extract variables indicated by the user from the database. The user can specify which municipalities (gemeenten), and the possible years to look for.
1 2 3 4 5 6 7 8 | hdng_get_data(
variables,
gemeenten,
from = 1000,
to = 2000,
clean = TRUE,
col.names = FALSE
)
|
variables |
Your query. |
gemeenten |
The municipalities you want to extract the data for (defaults to all) |
from |
Begin year (to be used in conjunction with to) |
to |
End year (to be used in conjunction with from) |
clean |
Filters the dataset to variables which are available at least once |
col.names |
Gives you the description rather than the variable code as colnames. |
a data.frame of all queried municipalities and variables
1 2 | hdng_get_data(c("aaa1", "bcx1", "qbx1"), gemeenten = c("Amsterdam", "Eindhoven"), from = 1800, to = 1900)
hdng_get_data("lpkm", from = 1900, to = 1950, clean = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.