[R-sig-Geo] Aggregating census tract to county
Maaz Gardezi
maaz at iastate.edu
Sat Dec 24 04:35:29 CET 2016
Juta,
Thanks for your reply. My question also has a methodological dimension to
it. Would it be OK to aggregate census tract data (on lets say female
headed household) to the county level by simply adding all the tracts
together? Will that aggregated number represent to some degree the county
level measure for the number of FHH.
Regards,
Maaz
On Fri, Dec 23, 2016 at 9:25 AM, Juta Kawalerowicz <
juta.kawalerowicz at nuffield.ox.ac.uk> wrote:
> Maaz this depends on what you have - do you have a lookup file (csv or
> else) which tells you which country does each census tract falls into? If
> you do then first merge lookup file with counts in census tracts and then
> use aggregate function. If you don't then you can create your own lookup
> file with shapefiles with census tracts and countries by using over
> function, check https://cran.r-project.org/web/packages/sp/vignettes/
> over.pdf for details
>
> Juta
>
> On Fri, Dec 23, 2016 at 3:42 PM, Maaz Gardezi <maaz at iastate.edu> wrote:
>
>> Hello,
>>
>> Can anyone tell me what's the most appropriate method to aggregate census
>> tract data to the county level?
>>
>> Best
>> Maaz
>>
>> [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
>
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list