Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attention au passage de Rennes 1714 dans Json #17

Open
gdaudin opened this issue Jul 26, 2018 · 4 comments
Open

Attention au passage de Rennes 1714 dans Json #17

gdaudin opened this issue Jul 26, 2018 · 4 comments
Assignees
Labels

Comments

@gdaudin
Copy link
Collaborator

gdaudin commented Jul 26, 2018

Les années sont "Janvier 1714, Février 1714, etc."
À traiter comme "1714" dans tous les cas.

@gdaudin
Copy link
Collaborator Author

gdaudin commented Oct 1, 2018

Finalement, on laisse tomber.

@gdaudin
Copy link
Collaborator Author

gdaudin commented Oct 1, 2018

Idéalement, il faudrait faire la somme...

@gdaudin
Copy link
Collaborator Author

gdaudin commented Oct 1, 2018

insheet using "/Users/guillaumedaudin/Documents/Recherche/Commerce International Français XVIIIe.xls/Balance du commerce/Retranscriptions_Commerce_France/toflit18_data_GIT/sources/Local - out/Rennes - Sorties - 1714.csv", clear
replace year="1714"
replace value =usubinstr(value,",",".",.)
replace quantit =usubinstr(quantit,",",".",.)
destring, replace
duplicates report marchandises
duplicates report marchandises pays
duplicates report dataentryby source sourcepath sourcetype exportsimports marchandises pays
collapse (sum) quantit value, by(source-exportsimports year marchandises direction pays quantity_unit prix_unitaire probleme remarks doubleaccount)
replace sourcepath ="Local/Rennes/Rennes - Sorties - 1714 - reconstructed.csv"
export delimited using "/Users/guillaumedaudin/Documents/Recherche/Commerce International Français XVIIIe.xls/Balance du commerce/Retranscriptions_Commerce_France/toflit18_data_GIT/sources/Local/Rennes/Rennes - Sorties - 1714 - reconstructed.csv", replace
insheet using "/Users/guillaumedaudin/Documents/Recherche/Commerce International Français XVIIIe.xls/Balance du commerce/Retranscriptions_Commerce_France/toflit18_data_GIT/sources/Local - out/Rennes - Entrées - 1714.csv", clear
replace year="1714"
replace value =usubinstr(value,",",".",.)
replace quantit =usubinstr(quantit,",",".",.)
destring, replace
collapse (sum) quantit value, by(source-exportsimports year marchandises direction pays quantity_unit prix_unitaire probleme remarks)
replace sourcepath ="Local/Rennes/Rennes - Entrées - 1714 - reconstructed.csv"
export delimited using "/Users/guillaumedaudin/Documents/Recherche/Commerce International Français XVIIIe.xls/Balance du commerce/Retranscriptions_Commerce_France/toflit18_data_GIT/sources/Local/Rennes/Rennes - Entrées - 1714 - reconstructed.csv", replace

@gdaudin
Copy link
Collaborator Author

gdaudin commented Oct 1, 2018

Script Stata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants