`valeursfoncieres-2018` %>%
group_by(`Nature mutation`) %>%
summarise(Nobs = n()) %>%
{if (is_html_output()) print_table(.) else .}
Nature mutation | Nobs |
---|---|
Adjudication | 9746 |
Echange | 43680 |
Expropriation | 1578 |
Vente | 2755573 |
Vente en l’état futur d’achèvement | 236432 |
Vente terrain à bâtir | 12528 |
`valeursfoncieres-2018` %>%
filter(`Code postal` == 75005) %>%
mutate_at(vars(11,26,28,30,39,43), funs(as.numeric(gsub(",", ".", .)))) %>%
select(9,12,16,11,26,28,30,39,43) %>%
# select(`Code postal`, Commune, `Valeur fonciere`, `Surface Carrez du 1er lot`, `Surface Carrez du 2eme lot`) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}
`valeursfoncieres-2018` %>%
filter(`Code postal` == 75014) %>%
mutate_at(vars(11,26,28,30,39,43), funs(as.numeric(gsub(",", ".", .)))) %>%
select(9,12,16,11,26,28,30,39,43) %>%
# select(`Code postal`, Commune, `Valeur fonciere`, `Surface Carrez du 1er lot`, `Surface Carrez du 2eme lot`) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}