Description Usage Arguments Value Author(s) See Also Examples
This function takes output from the parse.long.form function and appends columns containing population size
1 | get.district.pop(a, b)
|
a |
expects output from |
b |
expects data object |
dataframe
John Giles
Other data synthesis:
calc.prop.tot.trips(),
calc.route.type(),
calc.samp.size(),
get.crossdist(),
get.distance.class(),
get.distance.counts(),
get.distance.matrix(),
get.district.names.xy(),
get.duration.counts(),
get.holidays(),
get.sparse.mob.matrix(),
get.stay.data(),
get.subsamp(),
get.xy.counts(),
mob.data.array(),
parse.longform()
1 2 3 4 5 6 | # Add district population sizes
tmp <- get.district.pop(
a=read.csv("BeyondCommuting2/trip_lengths/trip_durations_longform.csv"),
b=read.csv("BeyondCommuting2/data/namibia_pop_from_worldpop_adm2.csv")
)
head(tmp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.