Package: tongfen 0.3.5

tongfen: Make Data Based on Different Geographies Comparable

Several functions to allow comparisons of data across different geographies, in particular for Canadian census data from different censuses.

Authors:Jens von Bergmann [aut, cre]

tongfen_0.3.5.tar.gz
tongfen_0.3.5.zip(r-4.5)tongfen_0.3.5.zip(r-4.4)tongfen_0.3.5.zip(r-4.3)
tongfen_0.3.5.tgz(r-4.4-any)tongfen_0.3.5.tgz(r-4.3-any)
tongfen_0.3.5.tar.gz(r-4.5-noble)tongfen_0.3.5.tar.gz(r-4.4-noble)
tongfen_0.3.5.tgz(r-4.4-emscripten)tongfen_0.3.5.tgz(r-4.3-emscripten)
tongfen.pdf |tongfen.html
tongfen/json (API)
NEWS

# Install 'tongfen' in R:
install.packages('tongfen', repos = c('https://mountainmath.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mountainmath/tongfen/issues

Datasets:

On CRAN:

6.62 score 28 stars 60 scripts 170 downloads 17 exports 43 dependencies

Last updated 2 years agofrom:14bf577ecc. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 24 2024
R-4.5-winOKOct 24 2024
R-4.5-linuxOKOct 24 2024
R-4.4-winNOTEOct 24 2024
R-4.4-macNOTEOct 24 2024
R-4.3-winNOTEOct 24 2024
R-4.3-macNOTEOct 24 2024

Exports:aggregate_data_with_metacheck_tongfen_areasestimate_tongfen_correspondenceget_tongfen_ca_censusget_tongfen_ca_census_ct_from_daget_tongfen_census_ctget_tongfen_census_daget_tongfen_correspondence_ca_censusget_tongfen_us_censusmeta_for_additive_variablesmeta_for_ca_census_vectorsproportional_reaggregatetongfen_aggregatetongfen_ca_census_cttongfen_estimatetongfen_estimate_ca_censustongfen_tag_largest_overlap

Dependencies:bitbit64classclassIntclicliprcpp11crayonDBIdplyre1071fansigenericsgluehmsKernSmoothlifecyclemagrittrMASSpillarpkgconfigprettyunitsprogressproxypurrrR6Rcppreadrrlangs2sfstringistringrtibbletidyrtidyselecttzdbunitsutf8vctrsvroomwithrwk

Estimating Canadian data on custom geographies

Rendered fromtongfen-ca-estimate.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2021-04-14
Started: 2021-01-18

General TongFen

Rendered fromtongfen.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2021-07-23
Started: 2020-06-12

Polling Districts

Rendered frompolling_districts.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2021-01-17
Started: 2020-10-16

TongFen for Canadian census data

Rendered fromtongfen_ca.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2021-04-22
Started: 2020-06-12

TongFen for US census data

Rendered fromtongfen_us.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2020-10-16
Started: 2020-06-12

Readme and manuals

Help Manual

Help pageTopics
Generate metadata from Candian census vectorsadd_census_ca_base_variables
Aggregate variables in grouped dataaggregate_data_with_meta
Check geographic integretycheck_tongfen_areas
Check geographic integretycheck_tongfen_single_areas
Generate togfen correspondence for list of geographiesestimate_tongfen_correspondence
Generate togfen correspondence for two geographiesestimate_tongfen_single_correspondence
Get StatCan DA or DB level correspondence fileget_correspondence_ca_census_for
Get StatCan DA or DB level correspondence fileget_single_correspondence_ca_census_for
Togfen data from several Canadian censusesget_tongfen_ca_census
Canadian census CT level tongfen via DA correspondenceget_tongfen_ca_census_ct_from_da
Canadian census CT level tongfenget_tongfen_census_ct
Canadian Census DA level tongfenget_tongfen_census_da
Get StatCan correspondence dataget_tongfen_correspondence_ca_census
Get US census data for 2000 and 2010 census on common census tract based geographyget_tongfen_us_census
Generate tongfen metadata for additive variablesmeta_for_additive_variables
Generate metadata from Candian census vectorsmeta_for_ca_census_vectors
Dasymetric downsamplingproportional_reaggregate
Perform tongfen according to correspondencetongfen_aggregate
Canadian census CT level tongfen via identifier matchingtongfen_ca_census_ct
Estimate variable values for custom geographytongfen_estimate
Tongfen estimate data for given geometrytongfen_estimate_ca_census
Tag regions by largest overlaptongfen_tag_largest_overlap
A dataset with polling station votes data from the 2015 federal election in the Vancouver areavancouver_elections_data_2015
A dataset with polling station votes data from the 2019 federal election in the Vancouver areavancouver_elections_data_2019
A dataset with polling district geographies from the 2015 federal election in the Vancouver areavancouver_elections_geos_2015
A dataset with polling district geographies from the 2019 federal election in the Vancouver areavancouver_elections_geos_2019