Skip to content

Commit

Permalink
quick clean
Browse files Browse the repository at this point in the history
  • Loading branch information
realxinzhao committed Aug 8, 2023
1 parent 1f1f168 commit e4502da
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
11 changes: 6 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
Package: gcamdata
Type: Package
Title: Process FAO data for global agroeconomic modeling
Title: Prepare, process, and synthesize FAOSTAT data for global agroeconomic and multisector dynamic modeling
Version: 1.1
Date: 2023-05-06
Authors@R: c(person("Xin", "Zhao", email = "[email protected]", role = c("cre", "aut"), comment = c(0000-0002-1801-4393)),
person("Katherine", "Calvin", role = "aut", comment = c(ORCID = "0000-0003-2191-4189")),
Authors@R: c(person("Xin", "Zhao", email = "[email protected]", role = c("cre", "aut"), comment = c(ORCID = "0000-0002-1801-4393")),
person("Maksym", "Chepeliev", role = "aut"),
person("Pralit", "Patel", role = "aut"),
person("Kanishka", "Narayan", role = "aut"),
person("Marshall", "Wise", role = "aut"),
person("Pacific Northwest National Laboratory", role = "cph"))
Description: Clean and balance agricultural input and supply-utilization data.
License: MIT + file LICENSE
Expand All @@ -31,9 +34,7 @@ Suggests:
tidyselect,
knitr,
rmarkdown
Remotes: github::JGCRI/gcamdata.compdata@gcam6_outputs
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.2
VignetteBuilder: knitr
BugReports: https://github.com/JGCRI/gcamdata/issues
14 changes: 14 additions & 0 deletions data-raw/generate_package_data_faostat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@

# FAOSTAT AgLU data Archive for GCAM v7

Archive_faostat_url <- "https://zenodo.org/record/8007286/files/"
url <- "https://zenodo.org/record/8007286/files/Population_E_All_Data_(Normalized).zip"

"https://zenodo.org/record/8007286/files/Population_E_All_Data_(Normalized).zip"

"https://zenodo.org/record/8007286/files/Trade_DetailedTradeMatrix_E_All_Data_(Normalized).zip"

"https://zenodo.org/record/8007286/files/Trade_CropsLivestock_E_All_Data_(Normalized).zip"




# This script has two objectives:
# 1. Download FAOSTAT data from API
# 2. Read and generate FAOSTAT package data. Save data to RDS files
Expand Down
3 changes: 0 additions & 3 deletions developer_funcs.R

This file was deleted.

0 comments on commit e4502da

Please sign in to comment.