Open SawyerMcFarland opened 1 year ago
@ecn310/international-trade-policy If you want to highlight tasks, you can use the "task list" feature. For example,
They can then be checked off when they're completed.
@ecn310/international-trade-policy Here is my feedback on your documentation:
Arya uploaded data on "Trade in goods: Exports, Percentage change, previous period, Q1 2008 – Q3 2023" extracted from OECD. Located in One Drive on 11/15/2023
[ ] get data on Chinese exports to US --HS6 code for each product (prior to Tariffs and after Tariffs)
[ ] Then same product level HS6 exports from EU to US (prior to Tariffs and after Tariffs)
[x] US Tariff changes on Chinese products --@kbuzard will send us this.
Find products China previously exported to US. and the same products that the EU then exports to US after Tariffs.
@ecn310/international-trade-policy I'm sorry for the delay in getting you feedback on your documentation and project process. Here are my thoughts:
#1
, #2
, and #3
, right? Github takes the #-number syntax to be citing that number issue/discussion/etc. Using numbered lists is a lot better. I'm going to ignore those links unless you tell me otherwise.#8
and Github automatically makes a fancy link. Note: I'm wrapping the # sign stuff in backticks to prevent it from inserting the link when I want to describe to you what's going on)@kbuzard Hello Professor Buzard, I hope you had a good Thanksgiving Break. I have added a section to our wiki titled 'Data' which has detailed explanations about each dataset. I have uploaded the small files to our GitHub main repo as well. We have chosen our 3 datasets to merge but we will need help to do so this Wednesday. Please ket me know if the data in the Wiki is sufficient, Thank you so much.
I have added a section to our wiki titled 'Data' which has detailed explanations about each dataset.
@aryar5 The ones listed on the wiki don't seem to be product-level data. Which are the three datasets that you're planning to merge? I'd like to take a look at them to make sure it looks like it's going to work.
I have uploaded the small files to our GitHub main repo as well
I don't see any data files in the repo. Where did you put the files?
@ecn310/international-trade-policy This is a good post from yesterday, but there's no post from Wednesday. In particular, there's nothing that says where to find the plan you made on Wednesday. There's also no record of Arya's visit to office hours on Wednesday, or anything else that anyone might have done outside of class.
@ecn310/international-trade-policy @kbuzard
@aryar5 I suggest you only have one copy of the plan on your repo; it can be in the issue you just created or on the wiki. The key thing I was asking for is that you add a link to that plan (whichever one you want to keep) on the top wiki page.
Thanks for adding the log from Wednesday!
Thank you Professor! Would it be possible to have our documentation check grade revised?
From: Kristy Buzard @.> Sent: 02 December 2023 04:54 PM To: ecn310/course-project-international-trade-policy @.> Cc: Arya Rajesh @.>; Mention @.> Subject: Re: [ecn310/course-project-international-trade-policy] Daily log (Issue #4)
@aryar5https://github.com/aryar5 I suggest you only have one copy of the plan on your repo; it can be in the issue you just created or on the wiki. The key thing I was asking for is that you add a link to that plan (whichever one you want to keep) on the top wiki page.
Thanks for adding the log from Wednesday!
— Reply to this email directly, view it on GitHubhttps://github.com/ecn310/course-project-international-trade-policy/issues/4#issuecomment-1837263192, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCIDRFXSBXRL37SBMXWV3D3YHOPSDAVCNFSM6AAAAAA6P3RN72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGI3DGMJZGI. You are receiving this because you were mentioned.Message ID: @.***>
Yes, I will revise it once you've decided which copy of the plan to keep, deleted the one one, and added a link to remaining plan on the main wiki page (the one under "home").
All done! https://github.com/ecn310/course-project-international-trade-policy/issues/10 this is the link, we decided to keep the one on Issues
From: Kristy Buzard @.> Sent: 02 December 2023 06:59 PM To: ecn310/course-project-international-trade-policy @.> Cc: Arya Rajesh @.>; Mention @.> Subject: Re: [ecn310/course-project-international-trade-policy] Daily log (Issue #4)
Yes, I will revise it once you've decided which copy of the plan to keep, deleted the one one, and added a link to remaining plan on the main wiki page (the one under "home").
— Reply to this email directly, view it on GitHubhttps://github.com/ecn310/course-project-international-trade-policy/issues/4#issuecomment-1837284400, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCIDRFUHY4HHI3EWBI7WCZTYHO6FXAVCNFSM6AAAAAA6P3RN72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGI4DINBQGA. You are receiving this because you were mentioned.Message ID: @.***>
Thank you professor, could you check our wiki and let me know if you can see the link? I put it in there.
From: Kristy Buzard @.> Sent: 02 December 2023 07:41 PM To: ecn310/course-project-international-trade-policy @.> Cc: Arya Rajesh @.>; Mention @.> Subject: Re: [ecn310/course-project-international-trade-policy] Daily log (Issue #4)
All done! #10https://github.com/ecn310/course-project-international-trade-policy/issues/10 this is the link, we decided to keep the one on Issues
Great! Now the link needs to be added to the main wiki page, that is, (herehttps://github.com/ecn310/course-project-international-trade-policy/wiki)
— Reply to this email directly, view it on GitHubhttps://github.com/ecn310/course-project-international-trade-policy/issues/4#issuecomment-1837293838, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCIDRFVLLSYXGTN4TAH3O4DYHPDB3AVCNFSM6AAAAAA6P3RN72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGI4TGOBTHA. You are receiving this because you were mentioned.Message ID: @.***>
Today we met in Bird library and discussed which exported products we wanted to focus on; Food, Capital goods and textiles. We have made 3/6 graphs and are finishing up analysis, orignally we had wanted to have this done by yesterday however we are on our way and allowed enough flexibility in our planner to still get this in on time for presentations on Wednesday.
12/04
Started our data testing and here are some of the results
Thank you professor, could you check our wiki and let me know if you can see the link?
Yes, I see it. It looks great.
To streamline things, you could also move the Overleaf link from it's own wiki page to be on this main wiki page.
Logan provided some code for R to get figures from Data
install.packages('ggplot2') library(ggplot2) install.packages('dplyr') library(dplyr) install.packages('tidyverse') library(tidyverse) df<- read.csv('United States Product Imports from China.csv')
filtered_df3 <- df %>% filter(Reporter.Name == "United States", Partner.Name == "China", Product.Group == " Capital goods")
filtered_df4 <- df %>% filter(Reporter.Name == "United States", Partner.Name == "China", Product.Group == "Textiles and Clothing")
time_range_df2 <- filtered_df3 %>% select(X2017:X2021)
long_df2 <- pivot_longer(time_range_df2, cols = X2017:X2021, names_to = "Year", values_to = "Value")
long_df2 <- pivot_longer(time_range_df2, cols = X2017:X2021, names_to = "Year", values_to = "Value")
long_df2$Year <- sub("x", "", long_df$Year)
ggplot(long_df2, aes(x = Year, y = Value, group = 1)) + geom_line() + geom_point() + labs(title = "Textile Volume United States and China (2017-2021)", x = "Year", y = "Trade Volume") + theme_minimal()
library(ggplot2) library(dplyr)
df2 <- read.csv('data-17844025.csv')
filtered_df2 <- df2 %>% filter(REPORTER_LAB == 'European Union - 27 countries (AT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK)', PARTNER == 'US', PRODUCT_LAB == 'Hams, shoulders and cuts thereof of swine, salted, in brine, dried or smoked, with bone in', PERIOD_LAB %in% c('Jan.-Dec. 2017', 'Jan.-Dec. 2018', 'Jan.-Dec. 2019', 'Jan.-Dec. 2020', 'Jan.-Dec. 2021'))
ggplot(filtered_df2, aes(x = PERIOD_LAB, y = INDICATOR_VALUE, group = 1)) + geom_line() + geom_point() + labs(title = "Indicator Value Over Time", x = "PERIOD", y = "TRADE VOLUME") + theme_minimal()
filtered_df2 <- df2 %>% filter(REPORTER_LAB == 'European Union - 27 countries (AT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK)', PARTNER == 'US', PRODUCT_LAB == '', PERIOD_LAB %in% c('Jan.-Dec. 2017', 'Jan.-Dec. 2018', 'Jan.-Dec. 2019', 'Jan.-Dec. 2020', 'Jan.-Dec. 2021'))
ggplot(filtered_df2, aes(x = PERIOD_LAB, y = INDICATOR_VALUE, group = 1)) + geom_line() + geom_point() + labs(title = "Indicator Value Over Time", x = "PERIOD", y = "TRADE VOLUME") + theme_minimal()
The R code performs a series of operations on our two datasets. Firstly, it imports and filters data from the 'United States Product Imports from China.csv' file, focusing on two product groups: "Capital goods" and "Textiles and Clothing," specifically examining trade between the United States and China. The time range from 2017 to 2021 for the "Textiles and Clothing" group is then selected, and the data is reshaped from wide to long format using the pivot_longer
function. Subsequently, a line plot is generated using ggplot2
to visualize the trade volume over the years (2017-2021) for the "Textiles and Clothing" category. Moving on to another dataset ('data-17844025.csv'), the code filters information related to two distinct product categories: "Hams, shoulders, and cuts thereof of swine" (Food) and (Batteries). Two identical sets of code create line plots for trade volume over time using ggplot2
for both the "Hams, shoulders, and cuts thereof of swine" and the Batteries category.
@ecn310/international-trade-policy
Arya and I met over zoom and made a plan for what to get done by today. Logan will contact Dylan to fix aggregate. Dylan looked over our documentation.
10/25
I updated our wiki, adding literature review and data.
Arya is updating it with the casual diagram and hypothesis.
As a group we need to:
[x] 1. Create a Stata do-file on one of our data sets. -Arya
[x] 2. Narrow down our hypothesis.- Sawyer
[x] 3. Testability of hypothesis. -Logan